
Chapter 14. Statement Reference
269
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 which indicates the number of characters.
Description:
Description:Description:
Description:
PRIVATE defines variables declared by varname or registerdefinition as local
variables which can 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:
Syntax errors:Syntax errors:
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 variable.
error 78: Array symbols exceed 30 for
one DIM, PRIVATE, or
GLOBAL statement
More than 30 variables are declared
inside one PRIVATE statement.
Comentarios a estos manuales