Skip to main content

Códigos de erro do compilador

Códigos de erro do compilador​

Descrição​

Esta é a lista dos erros comunicados quando um programa é executado. Assim que é encontrado um erro, a compilação para e o programa não é executado. As mensagens aparecem em inglês, tal como o BASIC-256 as mostra.

Erro #Mensagem de erroDescrição
0COMPERR_NONE
1COMPERR_SYNTAXSyntax ErrorMensagem geral do compilador quando uma instrução não está escrita corretamente.
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

Histórico​

1.99.99.9Lista de códigos de erro do compilador corrigida e atualizada