LT - Less Than#
The Less Than (LT) operator checks that Operand 1 is less than Operand 2.
- Statement
- If the garnishment amount calculated (held in the global variable ‘Garnish Amt’) is less than original deduction, issue a message.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00100 | IF | $G | GARNISH AMT | LT | PC | 256 | 01000 | 99999 | ||
01000 | MSG | A | GARNISH DEDN HAS BEEN REDUCED | 99999 | ||||||
99999 | EXIT | 99999 |
The UserCalc compares to see if Operand 1 (Garnish Amt) is less than Operand 2 (the original deduction amount held in PC 256). If Operand 1 is less than Operand 2, the UserCalc goes to line 01000 to issue a warning.