Show/Hide Toolbars

XSharp

 

NoteThis command is only available in the FOXPRO dialect

Purpose

Creates and initializes private variables of the FoxPro array type.
Note: Dimension and Declare are synonyms.

 

DIMENSION <arrayName> ( <nRows> [, <nColumns>] ) [, <arrayName> ( <nRows> [, <nColumns>] ) ]     // FoxPro dialect only
DIMENSION <arrayName> [ <nRows> [, <nColumns>] ] [, <arrayName> [ <nRows> [, <nColumns>] ] ]     // FoxPro dialect only
DECLARE   <arrayName> ( <nRows> [, <nColumns>] ) [, <arrayName> ( <nRows> [, <nColumns>] ) ]     // FoxPro dialect only
DECLARE   <arrayName> [ <nRows> [, <nColumns>] ] [, <arrayName> [ <nRows> [, <nColumns>] ] ]     // FoxPro dialect only

 

Arguments

arrayName>Variable name of array. The array will have the dimensions as declared with <nRows> and <nColumns>. The array may be declared with parentheses as delimiters but also with square brackets.
<nColumns> is optional.
We recommend the use of square brackets.

See Also

PUBLIC, LOCAL