CitectVBA Programming Reference > Understanding CitectVBA Language Basics > Variables > Variable Array Declaration

Variable Array Declaration

Arrays of variables are declared within a CitectVBA file module, function, or subroutine, using the dim statement with parentheses positioned after the array name, in the following syntax:

Dim <ArrayName>( [<Subscripts>] ) [As <DataType>]

where:

In the variable array declaration statement:

See Also

Fixed Size Arrays

Multi-Dimensional Arrays

Dynamic Size Arrays

Array Subscripts

Arrays of Variables

Dim