Skip to main content

Compiler Error C0010

Message: Unexpected end-of-file found: '<token>' expected

Possible error cause: Syntax error

Error correction: Use the correct syntax.

Example 320. Example of the error:
PROGRAM PLC_PRG
VAR
    i: INT;
END_VAR

FOR i := 0 TO 2 DO
;

Message:

C0010: Unexpected end-of-file found: 'END_FOR' expected