Compiler Error C0543
Message: The name <keyword> is a reserved keyword in the IEC 1131-3 standard. An error will be issued in future versions.
Possible error cause: A reserved keyword was assigned as the name of a variable.
Error correction: Rename the variable.
Example of the error:
PROGRAM MAIN
VAR
char : BYTE;
END_VARMessage:
C0543: The name "char" is a reserved keyword in the IEC 1131-3 standard. An error will be issued in future versions.
![]() | For violations in compiled libraries, only a text message (information) will be issued instead of a warning. |
The following keywords are reserved:
- CHAR
- WCHAR
- ANY_DERIVED
- ANY_ELEMENTARY
- ANY_MAGNITUDE
- ANY_SIGNED
- ANY_DURATION
- ANY_CHARS
- ANY_CHARS
- CHAR_TO
- TO_CHAR
- WCHAR_TO
- TO_WCHAR
- ATAN2
- USING
- CLASS
