The Greater Than or Equal To (GE) operator is used to check if Operand 1 is greater than or equal to Operand 2.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | IF | PC | 100 | GE | N | 0 | 00100 | 99999 | ||
00100 | LET | V | HALF OF PC 100 | DIV | PC | 100 | N | 2 | 99999 | |
99999 | EXIT | 99999 |
Here, the UserCalc checked to see if the value in PC100 (in Operand 1) was greater or equal to the value of Operand 2 (0). Therefore, if PC100 has any positive value, it will be divided in half.
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