This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:compileerrorcodes [2016/01/01 22:40] 127.0.0.1 external edit |
en:compileerrorcodes [2016/01/02 16:51] renejm |
||
---|---|---|---|
Line 4: | Line 4: | ||
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. | 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 Message^Description^ | + | ^Error #^^Error Message^Description^ |
- | |-1|Syntax Error|General compiler message when a statement is not formatted correctly.| | + | |0|COMPERR_NONE||| |
- | |-2|END IF without matching IF| | | + | |1|COMPERR_SYNTAX|Syntax Error|General compiler message when a statement is not formatted correctly.| |
- | |-3|ELSE without matching IF| | | + | |2|COMPERR_ENDIF|END IF without matching IF| | |
- | |-4|END WHILE without matching WHILE| | | + | |3|COMPERR_ELSE|ELSE without matching IF| | |
- | |-5|UNTIL without matching DO| | | + | |4|COMPERR_ENDWHILE|END WHILE without matching WHILE| | |
- | |-6|NEXT without matching FOR| | | + | |5|COMPERR_UNTIL|UNTIL without matching DO| | |
- | |-7|IF without matching END IF or ELSE statement| | | + | |6|COMPERR_NEXT|NEXT without matching FOR| | |
- | |-8|ELSE without matching END IF statement| | | + | |7|COMPERR_IFNOEND|IF without matching END IF or ELSE statement| | |
- | |-9|WHILE without matching END WHILE statement| | | + | |8|COMPERR_ELSENOEND|ELSE without matching END IF statement| | |
- | |-10|DO without matching UNTIL statement| | | + | |9|COMPERR_WHILENOEND|WHILE without matching END WHILE statement| | |
- | |-11|FOR without matching NEXT statement| | | + | |10|COMPERR_DONOEND|DO without matching UNTIL statement| | |
- | |-12|FUNCTION/ | + | |11|COMPERR_FORNOEND|FOR without matching NEXT statement| | |
- | |-13|END FUNCTION/ | + | |12|COMPERR_FUNCTIONNOEND|FUNCTION/ |
- | |-14|You may not define a FUNCTION/ | + | |13|COMPERR_ENDFUNCTION|END FUNCTION/ |
- | |-15|You may not define GLOBAL variable(s) inside an IF, loop, or FUNCTION/ | + | |14|COMPERR_FUNCTIONNOTHERE|You may not define a FUNCTION/ |
- | |-16|You may not define a label or use a GOTO or GOSUB statement in a FUNCTION/ | + | |15|COMPERR_GLOBALNOTHERE|You may not define GLOBAL variable(s) inside an IF, loop, or FUNCTION/ |
- | |-17|Error assigning a number to a string variable| | | + | |16|COMPERR_FUNCTIONGOTO|You may not define a label or use a GOTO or GOSUB statement in a FUNCTION/ |
- | |-18|Error assigning a string to a numeric variable| | | + | |19|COMPERR_RETURNVALUE|||| |
+ | |21|COMPERR_CONTINUEDO|||| | ||
+ | |22|COMPERR_CONTINUEFOR|||| | ||
+ | |23|COMPERR_CONTINUEWHILE|||| | ||
+ | |24|COMPERR_EXITDO|||| | ||
+ | |25|COMPERR_EXITFOR|||| | ||
+ | |26|COMPERR_EXITWHILE|||| | ||
+ | |27|COMPERR_INCLUDEFILE|||| | ||
+ | |28|COMPERR_INCLUDEDEPTH|||| | ||
+ | |29|COMPERR_TRYNOEND|||| | ||
+ | |30|COMPERR_CATCH|||| | ||
+ | |31|COMPERR_CATCHNOEND|||| | ||
+ | |32|COMPERR_ENDTRY|||| | ||
+ | |33|COMPERR_NOTINTRY|||| | ||
+ | |34|COMPERR_NOTINTRYCATCH|||| | ||
+ | |35|COMPERR_ENDBEGINCASE|||| | ||
+ | |36|COMPERR_ENDENDCASEBEGIN|||| | ||
+ | |37|COMPERR_ENDENDCASE|||| | ||
+ | |38|COMPERR_BEGINCASENOEND|||| | ||
+ | |39|COMPERR_CASENOEND|||| | ||
+ | |||