<< Prev        Next >>

ID : 507

Array

Array can be declared by local variables.

Up to three-dimensional array can be designated.

The number of dimensions and data volume for each dimension are specified in variable declaration and cannot be changed after declaration.

To declare local variables of an array, place "(n)" at the end of each variable name when specifying the variable name in a local variable declaration statement "Dim." "n" represents the maximum Index number of each element.

Index number of each element is n+1 between 0 and "n."

Dim aaa(3) As Integer 'One-dimensional array with 4 integer type data sets
Dim bbb(3,4,5) As String 'Three-dimensional array of string type

ID : 507

<< Prev        Next >>