Skip to content
Michał edited this page Jan 12, 2023 · 2 revisions

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];

To assign a value to an array, reference your array with the unique identifier followed by a index. Like this 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];

Clone this wiki locally