The operator ‘INDEXOF’ is no longer supported. Use ADR instead. ADR on a POU name returns a pointer to pointer to the function code.
The outdated operator ‘INDEXOF’ is used.
Use the operator ‘ADR’.
PROGRAM PLC_PRG
VAR
i : INT;
pt : POINTER TO INT;
END_VAR
i := INDEXOF(pt);