Declare string array variable.
strdim <array size>
Defines the array of integer type having the <array size> entry. The <array size> range is from 1 to 65536 and the array index is 0-origin.
The default value of the array is an empty string.
strdim timeary 10
for i 9 0
gettime timeary[9-i]
statusbox i "wait"
pause 1
next
msg = ""
for i 0 9
strconcat msg timeary[i]
strconcat msg #13#10
next
messagebox msg "result"