set "index" to 0 set "local1" to random 1 to 99 : "rand" set "array&index&" to random 0 to 99 inc "index" 1 dec "local1" 1 if "local1" > 1 then "rand" * "Array length: ('index')"