NL - Not Less Than#

The Not Less Than (NL) operator checks that Operand 1 is not less than Operand 2.

Statement
Ensure that the gross pay is not less than $100.00 for this pay. Use the current value of the Gross Pay Element to check this amount.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010IFECGROSS PAYNLN100 9999900100
00100MSGAEE'S EARNS VERY LOW, PLEASE VERIFY! 99999
99999EXIT 99999

The UserCalc checks that Operand 1 (Gross Pay) is not less than (equal or greater to) the value in Operand2 (100).

Notice that this reverse logic is fairly difficult to read, and therefore should be avoided where possible in UserCalcs.


Notes #

Click to create a new notes page