Create local/global variable, intTotal = 10
1) create an array
2) before you start for loop, array set size intTotal,1,1 (this will give you a 1 dimensional array of intTotal length.
3)
Condition:
-for 0 to (intTotal - 1)
Action:
-array, set at x. value = intValue
OR
1) create an array
2) before you start for loop, array set size 0,1,1 (this will give you a 1 dimensional array of 0 length.
3)
Condition:
-for 0 to (intTotal - 1)
Action:
-array, push end of x. value = intValue
Reference:
scirra.com/manual/108/array