Download "user manual"
Transcript
Compiler – Error Messages
kVA
i
19
f
n
19
Hz
P Hz
Compiler – Error Messages
The source text errors that are recognized by the pre-processor and the Compiler are
divided into error classes and error codes.
Manual – IPOSplus®
Error class
Error code
Possible cause
STATEMENT
NOT FOUND
SEMICOLON
Statements missing from body of loop
Semicolon missing after statement
CONDITIONAL
COLON
Colon ":" missing from conditional statement
BLOCK
END
Block without closing bracket " }"
BREAK
SEMICOLON
Semicolon ";" missing after break
CASE
ILLEGAL TYPE
COLON
DEFAULT
Case must be followed by constant
Case constant must be followed by colon
Default branch contains error(s) or is in wrong position
COMPILER
Error text
Internal system error (contact SEW)
CONTINUE
SEMICOLON
Semicolon ";" missing after continue
DECLARE
IDENTIFIER
NO VARIABLE
TOO MANY #DEFINE
Identifier after #declare is invalid
#declare must describe a variable
Number of #define exceeds resources
DEFINE
IDENTIFIER
SYMBOL SEQUENCE
TOO MANY #define
Identifier after #define is invalid
Symbol sequence after #define is invalid
Number of #define exceeds resources
DO
WHILE
OPEN BRACKET
CLOSE BRACKET
SEMICOLON
while is missing after do statement
Open round bracket "(" missing after while
Close round bracket ")" missing after while
Semicolon ";" missing after while
FACTOR
CLOSE BRACKET
Close bracket ")" missing after expression in brackets
FCT.CALL
CLOSE BRACKET
NUMBER ARGS
Close bracket ")" missing after function name
The number of arguments is incorrect
FOR
OPEN BRACKET
SEMICOLON
CLOSE BRACKET
Open round bracket "(" missing after for
Semicolon ";" missing between for expressions
Close round bracket ")" missing after for
FUNCTION
OPEN BRACKET
CLOSE BRACKET
Round bracket(s) missing for function declaration.
IDENTIFIER
NOT FOUND
Unknown identifier
IF
OPEN BRACKET
CLOSE BRACKET
Open round bracket "(" missing after if
Close round bracket ")" missing after if
CONSTANT
ILLEGAL TYPE
Syntax of dec., binary or hex constant is incorrect
PRAGMA
IDENTIFIER
VARIABLE RANGE
Invalid keyword after #pragma
Variable range is not permitted
PREPROCESSOR
NO VARIABLE
TOO MANY #include
SOURCE TEXT TOO
LONG
HEADER FILE NAME
OPEN FILE
CLOSE FILE
LINES TOO LONG
Variable name must follow numof
Too many #include directives nested
Source text exceeds maximum permitted length
Invalid header file name
File cannot be opened
Unexpected file end reached
Source text row too long
RETURN
SEMICOLON
Semicolon ";" missing after return
SWITCH
OPEN BRACKET
CLOSE BRACKET
No open round bracket "(" after switch or open bracket
"{" missing from block
Close round bracket ")" missing after switch and close
brackets "}" missing after block
UNDEF
IDENTIFIER
Identifier after #undef is invalid
WHILE
OPEN BRACKET
CLOSE BRACKET
Open round bracket "(" missing after while
Close round bracket ")" missing after while
275