Skip to main content

Compiler Error C0130

Message: object '<object name>' referenced without parentheses '()'

Possible error cause: A method is referenced without parentheses.

Error correction: Always reference methods by means of parentheses.

Example 392. Example of the error:
PROGRAM PLC_PRG
VAR
    inst : FB;
END_VAR
inst.METH1

Message:

C0130: METHOD 'METH1' referenced without parentheses '()'

Error correction:

inst.METH1();