Compiler Error C0031

Message: Type definition expected instead of '<no data type>'

Possible error cause: An invalid type definition is assigned to the identifier.

Error correction: Specify a valid type definition.

Example of the error:

PROGRAM MAIN
VAR
    i : 0;
END_VAR

Message:

C0031: Type definition expected instead of '0'

Error correction:

i : INT;