The Not Greater Than (NG) operator checks that Operand 1 is not greater than Operand 2.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | IF | PC | 100 | NG | N | -1 | 100 | 99999 | ||
00100 | LET | PC | 100 | EQ | N | 0 | 99999 | |||
99999 | EXIT | 99999 |
Here, the UserCalc compares if the value in Operand1 (PC100) to the value in Operand 2 (-1). If PC100 is NOT greater than -1 and thereby a negative value, the UserCalc goes to Line 00100 to make the Operand1 value 0.
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation