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.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00100IF$GGARNISH AMTLTPC256 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.


Notes #

Click to create a new notes page