FIT 100
© Copyright 1999-2000
University of Washington
More on Declaring Arrays
vUnless you do something special, the bounds of an array in the
declaration must be constants:
Dim a(1 To 100) as Integer
vWe can declare constants though for easier modification:
Const nRows As Integer = 30
Const nCols As Integer = 30
Dim newCells (1 To nRows, 1 To nCols) as
Integer