IB - Is Between The Is Between (IB) operator checks to see if Operand 1 can be found between the values of Operand 2 and Operand 3. Statement: If the employee has worked for the company for between 5 and 10 years, give a bonus of $100.00 in the last pay of the year (stored in PC 5000).
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|
Line 00100 instructs the UserCalc to check if the years of service (Operand 1) are between 5 (Operand 2) and 10 (Operand 3) years.