Query with unsigned variable.
Posted: Thu Mar 27, 2008 3:28 pm
Hi,
I have a small code. Am not sure about the value of the variable. :
01 NUM1 PIC 9 VALUE ZERO.
Step1: ADD -2 TO NUM1
Execute Step1 3 TIMES
What will be the value of NUM1?
Please give clarification also.
Thanks
I have a small code. Am not sure about the value of the variable. :
01 NUM1 PIC 9 VALUE ZERO.
Step1: ADD -2 TO NUM1
Execute Step1 3 TIMES
What will be the value of NUM1?
Please give clarification also.
Thanks