Documentation Center

Array declaration

Arrays are declared in a similar way to variables. You use the Private, Public, Dim or Static keywords and use integer values to specify the upper and lower bounds for the array. You use the As keyword to declare the array type.

For example:

Dim WordCounters(15) as Integer
Dim Sums(20) as Double