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 331. Example of the error:
PROGRAM PLC_PRG VAR i : 0; END_VAR
Message:
C0031: Type definition expected instead of '0'
Error correction:
i : INT;