==== UNROT ==== ---- ---- Move object from level 1 to level 3 ---- ^ __Input Stack__ ^^^ ^ __Output Stack__ ^^^ | **O3** | **O2** | **O1** | **→** | **O1** | **O3** | **O2** | | //Level 3// | //Level 2// | //Level 1// | //→// | //Level 3// | //Level 2// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} |**Type**| [[manual:chapter5:basics#commands|Command]] || |**Parallel list processing**| [[manual:chapter5:listproc#group-2commands-that-must-use-dolist-to-parallel-process|Group 2]] || |**Affected by flags**| None || ---- The ''UNROT'' command rotates the first 3 levels of the stack, bringing object on level 1 to level 3. ---- This command is fully compatible with userRPL. ---- 3: "This is a string" 2: { 'X' 'Y' 'Z' } 1: 1_m …………………………………………………………………………………… UNROT will result in 3: 1_m 2: "This is a string" 1: { 'X' 'Y' 'Z' } …………………………………………………………………………………… ---- {{page>manual:chapter6:stack&nofooter&noeditbtn&inline}}