17-04-2007, 03:29 AM
Take this for example:
Exact same code. Except for with arrays, you can perform bulk operations.
Now try doing THAT without arrays. :lol:
Code:
Dim i(1 to 3) As Integer
i(1) = 100
i(2) = 50
i(3) = 25
Code:
Dim i1 as integer
dim i2 as integer
dim i3 as integer
i1 = 100
i2 = 50
i3 = 25
Exact same code. Except for with arrays, you can perform bulk operations.
Code:
dim i(1 to 10000) as long
dim j as long
For j = lbound(i) to ubound(i)
i(j) = j \ i + i
next j
Now try doing THAT without arrays. :lol: