Hi All,
I am new to S7 and STL and am confused by the following code..
L P##Job
LAR1
L W [AR1,P#0.0]
T #Job_DB
L D [AR1,P#2.0]
T #Job_Ptr
I assume W [AR1,P#0.0] loads the DB number that the Job pointer is pointing to but not sure about D [AR1,P#2.0] as it seems to be returning a the job pointer (which is what we started with isn't it ?).
Can someone tell me the structure of a pointer (ie. P#0.0 is DBNum etc).
Thanks
Geoff
I am new to S7 and STL and am confused by the following code..
L P##Job
LAR1
L W [AR1,P#0.0]
T #Job_DB
L D [AR1,P#2.0]
T #Job_Ptr
I assume W [AR1,P#0.0] loads the DB number that the Job pointer is pointing to but not sure about D [AR1,P#2.0] as it seems to be returning a the job pointer (which is what we started with isn't it ?).
Can someone tell me the structure of a pointer (ie. P#0.0 is DBNum etc).
Thanks
Geoff