<Var/Array> = The array name that the value is to be inserted into.
<Var/Number> = The index (element) in the required array(s).
<Value> = The value to be inserted at the desired index.
Allows you to set the value of the element of an array in a nested array.
The arrays must have previously been allocated the correct number of elements.
You cannot expand the number of elements in a nested array with this instruction.
Example:
$value = 10
$array.1 [ 2 ][ 5 ] = $value
This will insert the value 10 into array $array.1 at index 2 [ 2 ], sub index 5 [ 5 ].
See here for an exploded view of nested arrays.
Command Location:
- »» General Commands
- »» Arrays
<Var/Array> [ <Var/Number> ][ <Var/Number> ] = <Value>
- »» Arrays