Specifications

Chapter 14. Statement Reference
196
Syntax errors:
When defining a user-defined function
When calling a user-defined function
Error code and message Meaning
error 61: Cannot use DEF
FN in control
structure
The DEF FN statement is defined in
block-structured statements such as
FOR and IF statements.
error 64: Function
redefinition
You made double definition to a same
function name.
error 65: Function defi-
nitions exceed
200
error 66: Arguments
exceed 50
error 71: Syntax error
functionname is an integer func-
tion name, but
expression is a
real type. (If
functionname is a
real function name and
expres-
sion
is an integer type, then no
error occurs.)
stringlength is out of the
range.
stringlength is not an integer
constant.
Error code and message Meaning
error 68: Mismatch
argument 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
undefined
Calling of a user-defined function pre-
cedes the definition of the user-defined
function.