CitectVBA Programming Reference > CitectVBA Function Reference > Array Functions

Array Functions

CitectVBA array functions are provided to allow you to declare, resize, initialize, populate, and erase arrays and their elements.

The array functions predefined in CitectVBA are:

Dim

Allocates storage for, and declares the data type of, variables and arrays in a module.

Erase

Reinitializes the elements of a fixed array.

Lbound

Returns the smallest available subscript for the dimension of the indicated array.

Option Base

Declares the default lower bound for array subscripts.

ReDim

Used to size or resize a dynamic array that has already been declared using the Dim statement with empty parentheses.

Ubound

Returns the value of the largest usable subscript for the specified dimension of an array.