==== OFF ==== ---- Turn calculator off programmatically ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **** | | //Level 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#commands|Command]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// | | **Affected by flags** | //None// || ---- 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 ………………………………………………………………………………………………………… ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}}