
200
When calling a user-defined function
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 dummyparameter was a real variable in
defining a function and realparameter is
an integer type, then no error occurs.)
error 69: Function undefined
Calling of a user-defined function precedes the
definition of the user-defined function.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
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.)
Example:
Example:Example:
Example:
File 1
DECLARE FUNCTION add(X,Y)
A=1:B=2
PRINT "TEST"
C=add(A,B)
PRINT C:
File 2
FUNCTION add(X,Y)
add=X+Y
END FUNCTION
TEST
3
Reference:
Reference:Reference:
Reference:
Statements: DECLARE
Comentários a estes Manuais