User Tools

Site Tools


en:compileerrorcodes

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
0COMPERR_NONE
1COMPERR_SYNTAXSyntax ErrorGeneral compiler message when a statement is not formatted correctly.
2COMPERR_ENDIFEND IF without matching IF
3COMPERR_ELSEELSE without matching IF
4COMPERR_ENDWHILEEND WHILE without matching WHILE
5COMPERR_UNTILUNTIL without matching DO
6COMPERR_NEXTNEXT without matching FOR
7COMPERR_IFNOENDIF without matching END IF or ELSE statement
8COMPERR_ELSENOENDELSE without matching END IF statement
9COMPERR_WHILENOENDWHILE without matching END WHILE statement
10COMPERR_DONOENDDO without matching UNTIL statement
11COMPERR_FORNOENDFOR without matching NEXT statement
12COMPERR_FUNCTIONNOENDFUNCTION/SUBROUTINE without matching END FUNCTION/SUBROUTINE statement
13COMPERR_ENDFUNCTIONEND FUNCTION/SUBROUTINE without matching FUNCTION/SUBROUTINE
14COMPERR_FUNCTIONNOTHEREYou may not define a FUNCTION/SUBROUTINE inside an IF, loop, or other FUNCTION/SUBROUTINE
15COMPERR_GLOBALNOTHEREYou may not define GLOBAL variable(s) inside an IF, loop, or FUNCTION/SUBROUTINE
16COMPERR_FUNCTIONGOTOYou may not define a label or use a GOTO or GOSUB statement in a FUNCTION/SUBROUTINE declaration
19COMPERR_RETURNVALUE
21COMPERR_CONTINUEDO
22COMPERR_CONTINUEFOR
23COMPERR_CONTINUEWHILE
24COMPERR_EXITDO
25COMPERR_EXITFOR
26COMPERR_EXITWHILE
27COMPERR_INCLUDEFILE
28COMPERR_INCLUDEDEPTH
29COMPERR_TRYNOEND
30COMPERR_CATCH
31COMPERR_CATCHNOEND
32COMPERR_ENDTRY
33COMPERR_NOTINTRY
34COMPERR_NOTINTRYCATCH
35COMPERR_ENDBEGINCASE
36COMPERR_ENDENDCASEBEGIN
37COMPERR_ENDENDCASE
38COMPERR_BEGINCASENOEND
39COMPERR_CASENOEND

History

1.99.99.9Corrected and updated list of compiler error codes
en/compileerrorcodes.txt · Last modified: 2020/02/28 10:46 (external edit)