
307
subscript
For one-dimensional: integerconstant
For two-dimensional:
integerconstant,integerconstant
Where integerconstant is a numeric expression which returns a
value from 0 to 254.
stringlength
An integer constant from 1 to 255.
Description:
PRIVATE allows variables declared by varname or registerdefinition to
be referred to or updated in that file.
• Inside one
PRIVATE statement, up to 30 variables can be declared to varname
or registerdefinition.
• You may declare non-array variables and array variables together to varname.
• For details about registerdefinition, refer to DEFREG statement.
Syntax errors:
Error code and message Meaning
error 7: Variable name
redefinition
The array declared with PRIVATE had
been already declared with
DEFREG.
error 71: Syntax error • stringlength is out of the
range.
•
stringlength is not an integer
constant.
error 72: Variable name
redefinition
• A same variable name is double
declared inside a same
PRIVATE
statement.
• A same variable name is used for a
non-array variable and array vari-
able.
error 78: Array symbols
exceed 30 for
one DIM, PRI-
VATE, or GLO-
BAL statement
More than 30 variables are declared
inside one
PRIVATE statement.
Komentarze do niniejszej Instrukcji