Specifications

201
When calling a user-defined function
Run-time errors:
Example:
DEF FNappend$(a$,b%)[128]
C$=""
FOR i%=1 TO b%
C$=C$+a$
NEXT
FNappend$=C$
END DEF
PRINT FNappend$("AB",3)
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 function.
Error code Meaning
07h
Insufficient memory space
(You nested
DEF FN statements to more than 10 levels.)
0Dh END DEF out of the DEF FN block
0Fh
String length out of the range
(The returned value of
stringlength exceeds the allowable
range.)
ABABAB