Statement DECLARE Foundation
Creates and initializes memory variables of the storage class PRIVATE.
DECLARE <VarName> [ := <Expression>, ... ]
<VarName> designates the name of a PRIVATE variable being initialized. If the array element operator  occurs immediately after <VarName>, an array is assigned to the variable. The array can be dimensioned by specifying the number of array elements. For example:
If an array is declared in this form, all array elements contain the value NIL.
<Expression> is any legal expression. It can be assigned to the variable using the inline assignment operator (:=). If no assignment follows the variable, it is initialized with the value NIL. If the variable was initialized as an array, assignment is not allowed.
Several variables can be declared as long as the variable names, including assignment, are separated by commas.
The DECLARE statement exists only for compatibility and should not be used. It is replaced by the PRIVATE statement. See PRIVATE.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.