Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== OFF ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Turn calculator off programmatically </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __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// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- 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. </callout> <callout type="success" icon="true" title="Compatibility"> ---- ''OFF'' is fully equivalent to its **userRPL** counterpart. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> « 1 6 FOR 'X' X IF 'X==3' THEN OFF END NEXT » </code> \\ **__Output__** <code> 4: 3: 1 2: 2 1: 3 ………………………………………………………………………………………………………… </code> then the calculator switches off. \\ \\ After turning it on: <code> 6: 1 5: 2 4: 3 3: 4 2: 5 1: 6 ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}} </callout> manual/chapter6/system/cmd_off.txt Last modified: 2021/09/21 14:20by jojo1973