|arglist||(Variant) Comma-delimited list of values that are assigned to the elements of an array. If no parameters are specified, then an array of zero length is created.|
The notation used to refer to an item of an array consists of the variable name followed by parentheses containing an index number indicating the desired element.
In the following example, the first statement creates a variable named "A". The second statement assigns an array to this variable. The last statement assigns the value contained in the second array item to another variable.
Dim B, A(2)
A(0) = 10
A(1) = 20
A(2) = 30
B = A(1) 'B=20