STORE Command
Stores data to a variable, to an array, or to an array element.
STORE eExpression TO VarNameList | ArrayNameList-or- VarName | ArrayName = eExpression |
Parameters
- eExpression
-
Specifies an expression whose value is stored to the variable, array, or array element. If the variable doesn't exist, it is created and initialized to eExpression. An array must be previously defined with DIMENSION. STORE replaces the value in an existing variable, array, or array element with the new value.
- VarNameList
-
Specifies a list of variables or array elements to which eExpression is stored. Separate the names or array elements with commas.
- ArrayNameList
-
Specifies a list of names of existing arrays to which eExpression is stored. Separate array names with commas.
STORE initializes every element in the arrays to the specified value if SET COMPATIBLE is OFF. STORE stores the specified value to memory variables of the specified names if SET COMPATIBLE is ON, overwriting any existing arrays that have those names.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08