Compiler Error Codes

Description

This is a list of errors that will be reported when a program is run. Once an error is encountered compiling is stopped and the program will not be executed.

Error #Error MessageDescription
-1Syntax ErrorGeneral compiler message when a statement is not formatted correctly.
-2END IF without matching IF
-3ELSE without matching IF
-4END WHILE without matching WHILE
-5UNTIL without matching DO
-6NEXT without matching FOR
-7IF without matching END IF or ELSE statement
-8ELSE without matching END IF statement
-9WHILE without matching END WHILE statement
-10DO without matching UNTIL statement
-11FOR without matching NEXT statement
-12FUNCTION/SUBROUTINE without matching END FUNCTION/SUBROUTINE statement
-13END FUNCTION/SUBROUTINE without matching FUNCTION/SUBROUTINE
-14You may not define a FUNCTION/SUBROUTINE inside an IF, loop, or other FUNCTION/SUBROUTINE
-15You may not define GLOBAL variable(s) inside an IF, loop, or FUNCTION/SUBROUTINE
-16You may not define a label or use a GOTO or GOSUB statement in a FUNCTION/SUBROUTINE declaration
-17Error assigning a number to a string variable
-18Error assigning a string to a numeric variable