Compiler Error C0242
Message: Operand of __DELETE must be pointer
Possible error cause: An incorrect operand is passed to the operator __DELETE
.
Error correction: Pass a pointer.
Example 460. Example of the error:
PROGRAM PLC_PRG VAR a : INT; pt : POINTER TO INT; END_VAR __DELETE(a);
Message:
C0242: Operand of __DELETE must be pointer
Error correction:
__DELETE (pt);