PUT(<array[]>,<value>)
Inserts <value>
at the first empty point in <array[]>
.
Example
&array[0] = "Hello"
&array[2] = "World"
// Adds an element at the first empty point in the array
PUT(&array[],"Inserted")
// Outputs "Hello", "Inserted" and "World"
FOREACH(&array[],&string)
LOG(%&string%)
NEXT