Array
The array statement is used to create an array and assign the array to a variable. You can use this statement to create an array of empty variables or pre-defined variables.
In order to create an array with a fixed number of elements, you should use code like the following:
Dim aEmpty
aEmpty = Array(10)
If you wish to create an array of pre-defined variables, you would create the array as follows:
Dim aDays
aDays = Array("M", "T", "W", "Th", "F", "S", "Su")
You may also create a multi-dimensional array by defining two different sizes in your array declaration.
Dim aMatrix
aMatrix = Array(10)(10)
|
 |

|