Add support for arrays

This commit is contained in:
jonathandturner
2016-03-26 10:46:28 -07:00
parent ceadc0977f
commit b1ccaf4516
4 changed files with 163 additions and 24 deletions

4
scripts/array.rhai Normal file
View File

@@ -0,0 +1,4 @@
var x = [1, 2, 3];
print(x[1]);
x[1] = 5;
print(x[1]);