Turn calculator off programmatically
The OFF
command switches the calculator off. If used into a program, the program will continue from where it stopped when the calculator will be switched on again.
OFF
is fully equivalent to its userRPL counterpart.
Input
« 1 6 FOR 'X' X IF 'X==3' THEN OFF END NEXT »
Output
4: 3: 1 2: 2 1: 3 …………………………………………………………………………………………………………
then the calculator switches off.
After turning it on:
6: 1 5: 2 4: 3 3: 4 2: 5 1: 6 …………………………………………………………………………………………………………
Command | Short Description | |
---|---|---|
→DATE | Set current system date in MM.DDYYYY | |
DATE+ | Add days to a date in MM.DDYYYY | |
→TIME | Set current time as HH.MMSS | |
→HMS | Convert decimal time to HH.MMSS | |
HMS→ | Convert time in HH.MMSS to decimal | |
HMS+ | Add time in HH.MMSS format | |
HMS- | Subtract time in HH.MMSS format | |
TICKS | Return system clock in microseconds | CHANGED |
TEVAL | Perform EVAL and measure elapsed time | CHANGED |
DATE | Current system date as MM.DDYYYY | |
DDAYS | Number of days between dates in MM.DDYYYY | |
TIME | Current time in HH.MMSS | |
TSTR | ||
ACK | Acknowledge oldest alarm (dismiss) | |
ACKALL | Acknowledge (dismiss) all alarms | |
RCLALARM | Recall specified alarm | |
STOALARM | Create a new alarm | |
DELALARM | Delete an existing alarm | |
FINDALARM | Get first alarm due after the given time | |
VERSION | Get newRPL version string | |
MEM | Get available memory in bytes | |
BYTES | Size of an object in bytes and CRC32 | CHANGED |
PEEK | Low-level read memory address | CHANGED |
POKE | Low level write to memory address | CHANGED |
NEWOB | Make a new copy of the given object | |
GARBAGE | Force a garbage collection | NEW |
FWUPD | ||
OFF | Turn calculator off programmatically |