ARC
Well-known member
Does a nested loop finish firing before the rest of the outer loop continues?
I'm trying to fill a 3d array with the following loop and I'm not sure if this is the correct way to do it.
I'm trying to fill a 3d array with the following loop and I'm not sure if this is the correct way to do it.
Dim agrid(25, 25) As String
Dim x As Integer
Dim y As Integer
Dim num As Integer
num = 97
x = 0
y = 0
Do While x <= 25
Do While num <= 122
agrid(x, y) = num
num = num + 1
y = y + 1
Loop
num = 97
x = x + 1
Loop