Skip to main content

Compiler Error C0099 (Compiler Version < 3.5.7.0)

Message: Local defined enumeration are no longer supported. Use a DUT definition instead.

Possible error cause: A local enumeration declaration was used together with a compiler version that does not support this.

Error correction: Use a later compiler version, or define the enumeration in a DUT.

Example of the error:

Example 379. Example of the error:
PROGRAM PLC_PRG
VAR
    localEnumVar : (RED, GREEN, BLUE) := RED;
END_VAR

Message:

C0099: Local defined enumeration are no longer supported. Use a DUT definition instead.