The Is Between (IB) operator checks to see if Operand 1 can be found between the values of Operand 2 and Operand 3.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | YEARS SERVICE | YBT | DB | EEM.HIRE_DATE | $S | PERIOD-END-DATE | 00020 | |
00020 | PPE | EY | $S | PERIOD-END-DATE | 00100 | 99999 | ||||
00100 | IF | V | YEARS SERVICE | IB | N | 5 | N | 10 | 00200 | 99999 |
00200 | LET | PC | 5000 | EQ | N | 100 | 99999 | |||
99999 | EXIT | 99999 |
Line 00100 instructs the UserCalc to check if the years of service (Operand 1) are between 5 (Operand 2) and 10 (Operand 3) years.
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation