FIT 100
© Copyright 1999-2000
University of Washington
One and Two Dimensional Arrays
vooops ….. Visual Basic does allow you to declare both the lower
and upper bounds of an array:
Dim a(1 To 100) as Integer
vYou 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)