Skip to main content

Códigos de error del compilador

Códigos de error del compilador​

Descripción​

Esta es la lista de errores que se notifican al ejecutar un programa. En cuanto se encuentra un error, la compilación se detiene y el programa no se ejecuta. Los mensajes aparecen en inglés, tal como los muestra BASIC-256.

Error #Mensaje de errorDescripción
0COMPERR_NONE
1COMPERR_SYNTAXSyntax ErrorMensaje general del compilador cuando una instrucción no tiene el formato correcto.
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

Historial​

1.99.99.9Se corrigió y actualizó la lista de códigos de error del compilador