Suppose that there is a multi-dim array as such: myarray(9,9,9).
To loop through each element:
Code: Select all
for i=0 to 9
for j=0 to 9
for k=0 to 9
'do something
next k
next j
next i
Is there a way to do the following without rewriting the array to a single-dim?
Code: Select all
for i=0 to 999
'do something
next i
Thanks