Compiler Error C0013
Message: At least one statement is expected.
Possible error cause: At least one statement is expected at some positions in the code. For example, in the THEN and ELSE part of an IF statement, or in the body of a FOR loop.
Error correction: Add at least one statement at the selected position. It is enough to write a blank statement ";".
Example 327. Example of the error:
PROGRAM PLC_PRG
VAR
bTest: BOOL;
END_VAR
IF bTest THEN
END_IF
Message:
C0013: At least one statement is expected.