EXIT - Exit The USERCALC#
This command exits the UserCalc by going immediately to line 99999.
You may not use the EXIT command more than once in a UserCalc, as users can implicitly exit by referring to line 99999 in a 'If Goto' or 'Else Goto' column.
Statement:If the employee is in the USWA UNION then exit, otherwise deduct a $2.00 Administration Fee (stored in PC 300).
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | IF | DB | DUN.UNIT_CODE | EQ | A | USWA UNION | 99999 | 00100 | ||
00100 | LET | PC | 300 | EQ | N | 2 | 99999 | |||
99999 | EXIT | 99999 |