WD22
Hi,
I have a global procedure, say GP_A, which calls another global procedure, GP_B.
In GP_A I am declaring an integer variable called nVar1, giving it a value of e.g. 913. I then call GP_B passing nVar1 as a parameter. GP_B returns a result which is another integer signalling either success or failure of GP_B.
So my code, in GP_A, reads
nVar1 = 913
IF GP_B(nVar1) <> 0 then
//fail code block
End
Info(nVar1)
This code worked fine in WD15, but since I upgraded to WD22 the info statement returns a value of zero, i.e. nVar1 has been reset/overrriden somehow during the call to GP_B.
Can anyone tell me why this might be happening?
GP_B uses either Result 0 or Result -1 to terminate if that helps.
Cheers
Reg
Hi,
I have a global procedure, say GP_A, which calls another global procedure, GP_B.
In GP_A I am declaring an integer variable called nVar1, giving it a value of e.g. 913. I then call GP_B passing nVar1 as a parameter. GP_B returns a result which is another integer signalling either success or failure of GP_B.
So my code, in GP_A, reads
nVar1 = 913
IF GP_B(nVar1) <> 0 then
//fail code block
End
Info(nVar1)
This code worked fine in WD15, but since I upgraded to WD22 the info statement returns a value of zero, i.e. nVar1 has been reset/overrriden somehow during the call to GP_B.
Can anyone tell me why this might be happening?
GP_B uses either Result 0 or Result -1 to terminate if that helps.
Cheers
Reg