LET - Let One Value Be Another#
LET is used for assigning values or calculations.
Statement:Let parking fees (stored in PC 296) be equal to $75 then exit.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | PC | 296 | EQ | N | 75 | 99999 | |||
99999 | EXIT | 99999 |
Statement:Let the date variable Probationary Date be the Hire Date plus 3 months then go to Line 00200.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | PROB DATE | BD | DB | EEM.HIRE_DATE | A | +3M | 00200 |