FUNCTION_BLOCK PumpVAR idStr: STRING:=' '; pstr: POINTER TO STRING:=ADR(idStr);END_VAR
In the declaration above I get the following error
SA0175: Suspicious operation on string: Possible index access 'ADR(idStr)'.
How do I solve that problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the declaration above I get the following error
SA0175: Suspicious operation on string: Possible index access 'ADR(idStr)'.
How do I solve that problem?