Skip to main content

Compiler Error C0212

Message: VAR, VAR_INPUT, VAR_OUTPUT or VAR_INOUT expected instead of <expression>

Possible error cause: Syntax error

Error correction: Make sure that the syntax is correct.

Example 436. Example of the error:
PROGRAM PLC_PRG
i : INT;

Message:

C0212: VAR, VAR_INPUT, VAR_OUTPUT or VAR_INOUT expected instead of i : INT;