In IterkoczeScript, arrays work similar to C arrays.
see the example
To create an array, use the new Array keyword followed by unique identifier and the size of the array. Like this new Array vars[10];
new Array
new Array vars[10];
To assign a value to an array, reference your array with the unique identifier followed by a index. Like this vars[0] = "Hello";
vars[0] = "Hello";
To get a value from your array, reference your array with the unique identifier followed by a index. Like this x = vars[0];
x = vars[0];
There was an error while loading. Please reload this page.