Dim varname[, varname] . . .
The Dim statement syntax has these parts:
|varname||Name of the variable; follows standard variable naming conventions.|
Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure.
All uninitialized variables are treated as zero-length strings ("").
The following examples illustrate the use of the Dim statement:
Dim MyStr ' Declare one variable Dim MyVar, MyNum ' Declare two variables
Caché Basic does not require the dimension of arrays to be specified, and therefore does not implement the ReDim Statement.