resize array <Var/Array> to <Var/Number>

X2:The ThreatX3:Reunion
This command changes the size of an existing array. If the array becomes larger then extra empty elements are added to the end of the arry. If the array gets smaller then only the first elements are kept. Any elements numbered higher than the new array size are lost.

example

$array1 = array alloc: size=5
resize array $array1 to 8

elements 5 6 and 7 are added to the end of the array. Their value is null