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:
- C0018: 'i.x' is no valid assignment target
- C0050: Bitaccess requires literal or symbolic integer constant
Error correction:
i := Test(x);