lostcontrol
Lifetime Supporting Member
Hi,
Can someone translate this for me please, or at least help to explain what the instructions mean?
Based on what I know of the application, I know that 'L 200 T #outResult' is setting #outResult to 200 (& 100 earlier).
What I cannot see exactly, is how the test is done? Is this a Select/Case type thing?
I can follow that the #inValue is checked/loaded & if equal to 1000, then set #outReslt to 100 & exit the case (JU lblx0 ?)
The lblxx are just jump labels.?
How far off am I?
Cheers
Can someone translate this for me please, or at least help to explain what the instructions mean?
Code:
SET
SAVE
= L 2.1
L DB1.DBW 1
T #inValue
L 1000
TAK
==I
T LW 4
JC lblx1
JU lblx2
lblx1: L 100
T #outResult
JU lblx0
lblx2: L 2000
L LW 4
==I
JC lblx3
JU lblx0
lblx3: L 200
T #outResult
JU A7d0
lblx0: CLR
A L 2.1
SAVE
BE
Based on what I know of the application, I know that 'L 200 T #outResult' is setting #outResult to 200 (& 100 earlier).
What I cannot see exactly, is how the test is done? Is this a Select/Case type thing?
I can follow that the #inValue is checked/loaded & if equal to 1000, then set #outReslt to 100 & exit the case (JU lblx0 ?)
The lblxx are just jump labels.?
How far off am I?
Cheers