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.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...