
Chapter 14. Statement Reference
324
Syntax errors:
■ When defining a user function
NOTE
Before any call to a SUB...END SUB function, you need to place definition
of the SUB function or declaration of the SUB by the DECLARE statement
in your source program.
A function name is defined globally. If more than one same function name
exists in a same project, therefore, a multiple symbol definition error will
occur when files will be linked. The same error will occur also if the
SUB...END SUB defines a user-created function in a file to be included and
more than one file in a same project reads that included file.
Error code and message Meaning
error 64: Function
redefinition
You made double definition to a same
function name.
error 71: Syntax error
• The string length is out of the range.
• The string length is not an integer
constant.
error 92: Incorrect use
of SUB, EXIT
SUB or END SUB
• The EXIT SUB statement is speci-
fied outside the function definition
block.
• The
END SUB statement is specified
outside the function definition block.
error 93: Incomplete
control struc-
ture
(SUB...END SUB)
END
SUB is missing.
error 94: Cannot use SUB
in control
structure
The SUB...END SUB statement is
defined in other block-structured state-
ments such as
FOR and IF statement
blocks.
Komentarze do niniejszej Instrukcji