SHYAMAL
Member
Dear Friends,
I have written a function with two pointer parameters - one for input and other for output. Say for example #input_pointer of type pointer and #ouput_pointer of type pointer.
When I call that function from OB1 with the parameter values p#i0.0 and p#DB1.DBX0.0 respectively, it is taking the parameter values without any problem.
But in my function where I have put the codes:
L p##input_pointer
LAR1
.
.
.
.
L p##output_pointer
LAR2
.
.
.
.
I am getting the values in Acc1 16#870000A8 for input pointer
and 16#870000D8 for output pointer. But I am expecting the values - 16#81000000 and 16#84000000 respectively. Where is the actual problem? Please help to identify the problem. Hope there must be somebody who can clarify the matter.
With best regards,
Shyamal
I have written a function with two pointer parameters - one for input and other for output. Say for example #input_pointer of type pointer and #ouput_pointer of type pointer.
When I call that function from OB1 with the parameter values p#i0.0 and p#DB1.DBX0.0 respectively, it is taking the parameter values without any problem.
But in my function where I have put the codes:
L p##input_pointer
LAR1
.
.
.
.
L p##output_pointer
LAR2
.
.
.
.
I am getting the values in Acc1 16#870000A8 for input pointer
and 16#870000D8 for output pointer. But I am expecting the values - 16#81000000 and 16#84000000 respectively. Where is the actual problem? Please help to identify the problem. Hope there must be somebody who can clarify the matter.
With best regards,
Shyamal