
204
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:
GLOBAL allows variables declared by varname to be referred to or updated in other
programs.
• If a same variable name as specified inside the GLOBAL statement is already declared
in your file, the GLOBAL statement will result in an error.
• Up to 30 variables can be declared inside one GLOBAL statement.
• You may declare non-array variables and array variables together inside one GLOBAL
statement.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 7: Variable name
redefinition
The variable declared with GLOBAL statement
had been already declared with DEFREG
statement.
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 GLOBAL statement.
• A same variable name is used for a
non-array variable and array variable.
error 78: Array symbols exceed
30 for one DIM,
PRI-VATE, or GLOBAL
statement
• More than 30 variables are declared inside
one GLOBAL statement.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
05h
Parameter out of the range
07h
Insufficient memory space
(The variable area has run out.)
0Ah
Duplicate definition
(An array is double declared.)
Reference:
Reference:Reference:
Reference:
Statements: DIM and PRIVATE
Kommentare zu diesen Handbüchern