Specifications

217
When calling a user-defined function
Run-time errors:
Error code and message Meaning
error 96: Incomplete
control struc-
ture (FUNC-
TION...END
FUNCTION)
END
FUNCTION is missing.
error 97: Cannot use
FUNCTION in
control struc-
ture
The FUNCTIONEND FUNCTION
statement is defined in other block-
structured statements such as
FOR
and IF statement blocks.
Error code and message Meaning
error 68: Mismatch argu-
ment type or
number
The number of the real parameters is
not equal to that of the dummy
parameters.
dummyparameter was an integer
variable in defining a function, but
realparameter is a real type in
calling the function. (If
dummypa-
rameter
was a real variable in
defining a function and
realpa-
rameter
is an integer type, then no
error occurs.)
error 69: Function unde-
fined
Calling of a user-defined function pre-
cedes the definition of the user-defined
function.
Error code Meaning
07h
Insufficient memory space
(You nested
FUNCTION statements to more than 10 levels.)
0Fh
String length out of the range
(The returned value of
stringlength exceeds the allowable
range.)