Skip to main content

Compiler Error C0189

Message: ';' expected instead of '<token>'

Possible error cause: Syntax error

Error correction: Make sure that the syntax is correct.

Example 421. Example of the error:
PROGRAM PLC_PRG
VAR
    INT
END_VAR

Message:

C0009: Unexpected token '&lt;Token&gt;' found

C0189: ';' expected instead of 'INT'