Siebel VB Language Reference > VB Language Overview > VB Data Types >

Arrays in VB

Arrays are created by specifying one or more subscripts at declaration or when the array is redimensioned by the ReDim statement (read ReDim Statement). Subscripts specify the beginning and ending index for each dimension. If only an ending index is specified, the beginning index depends on the Option Base setting. Array elements are referenced by enclosing the proper number of index values in parentheses after the array name. For example, arrayName(i,j,k) indicates an array with three dimensions. For more information, read Dim Statement.

For examples of the use of arrays, read IsEmpty Function, IsNull Function, NPV Function, Null Function, Option Base Statement, and VarType Function.

Siebel VB Language Reference