6-2 Error Messages
6
−
8
Builder
Chapter 6 Macro Programming
6-2 Error Messages
The following are the error messages displayed in the error list box after
running the error check.
Error Message
Definition
Format error
An invalid variable name, function name, or programming
terminology, which cannot be interpreted, was used.
Variable name error
Invalid variable name.
( is missing
A bracket is missing in a function or If statement.
No. of ( ) does not agree
Insufficient number of ( ).
Position of , is incorrect
A comma is located in an invalid location.
Function argument error
Wrong function argument was used (e.g. word memory was
set where only bit memory is allowed).
= command error
An invalid assignment statement such as 3= CB0;.
End of program is incomplete The ending of the program is not completed.
IF sentence error
Syntax error in IF, ELS, or ENDIF.
, or ; is missing
A comma missing after the function argument. Or a
semicolon, used or separating programs, is missing.
Grammar error with FOR
command
Syntax error in NEXT, BREAK, or CONTINUE.
Too many FOR command
(Max 8)
The FOR statement can only be nested up to 8 levels. Nest
the statement within 8 levels.