Compiler Error C0211

Message: Variable declaration expected instead of <expression>

Possible error cause: Syntax error

Error correction: Make sure that the syntax is correct.

Example of the error:

PROGRAM MAIN
VAR
    VAR

    END_VAR
END_VAR

Message:

C0211: Variable declaration expected instead of VAR END_VAR