Skip to main content

Compiler Error C0084

Message: '<pragma operand>' is no valid operand for pragma

Possible error cause: Syntax error

Error correction: Use valid pragma operands.

Example 368. Example of the error:
PROGRAM PLC_PRG
VAR
END_VAR

{IF defined(0)}
{END_IF}

Message:

C0084: 'defined(null)' is no valid operand for pragma

Error correction:

{IF defined (abc)}