Compiler Error C0020

Message: '<statement>' is no valid statement.

Possible error cause: Syntax error (for example, too few or too many characters)

Error correction: Make sure that the syntax is correct.

Example of the error:

PROGRAM MAIN
VAR
    x : INT;
END_VAR

x = 2;

Message:

C0020: '(x = 2); ' is no valid statement.

Error correction:

x := 2;