ErrorMessages

 
 
10.5     ERROR MESSAGES
 
When the programming changes are done the user hits the F2 key or "SEND" from the menu system to send the changes to the controller. The software checks the program for errors and if all is clear sends the program to the controller.  If errors are found the program is not sent and the errors are displayed in a popup and also at the bottom of the editor.
 
 
 
10.5.1 SYNTAX ERRORS
 
Syntax errors usually are caused by spelling mistakes of syntax errors.
 
Here is a list of the error messages:
1.
Expecting variable
7.
Illegal extra characters on line
2.
Expecting =
8.
Expecting another expression
3.
Expecting operator
9.
Illegal line number in goto
4.
Bracket error
10.
String is missing end quote (“)
5.
Not variable on left of equals
11.
Attempt to change the value of a point in another panel
6.
Function argument not expression
 
 
 
 
 
10.5.2 STRUCTURAL ERRORS
 
 
 
 
 
1.
Program too large —- text buffer
7.NEXT without FOR in line ###
2.
Too many GOTOs —- allowed 50
8.Too many FOR's —- allowed 10
3.
Program too large at line ###
9.Expecting line number after line ###
4.
Too many lines —- allowed 100
10. Line after ### is too long
 
5.     FOR without NEXT
 
6.     GOTO or GOSUB to undefined line ###