Compiler Error C0050

Message: Bitaccess requires literal or symbolic integer constant.

Possible error cause: No literal or an integer constant is specified in a bit access.

Error correction: Use a literal or an integer constant.

Example of the error:

PROGRAM MAIN
VAR
    i : INT;
    x : INT;
END_VAR

i.x := FALSE;

Message:

Error correction:

i := Test(x);