Compiler Error C0011
Message: No 'CASE' label found
Possible error cause: Syntax error in a CASE statement. A statement in a CASE statement is not assigned to a CASE label.
Error correction: Add a CASE label.
Example 326. Example of the error:
PROGRAM PLC_PRG
VAR
i: INT;
x: INT;
END_VAR
CASE i OF
x := 9;
END_CASE
Message:
C0011: No 'CASE' label found
Error correction:
CASE i OF
0:
x := 9;
END_CASE