|
|
|
|
|
|
|
|
|
|
|
|
v |
ooops
….. Visual Basic does allow you to declare
|
|
|
both
the lower and upper bounds of an array:
|
|
|
Dim a(1 To 100) as Integer
|
|
|
v |
You
can have two dimensional arrays as well as one
|
|
dimensional
ones. This is much more natural for
the
|
|
|
Game
of Life
|
|
|
Dim cells (0 To 31, 0 To 31) As
Integer
|
|
|
Dim i As Integer
|
|
|
cells(2,3) = 1
|
|
|
i = cells(4,5)
|
|
|
|