==== PICK ==== ---- ---- Duplicate object at specified level on the stack ---- ^ __Input Stack__ ^^^^ ^ __Output Stack__ ^^^^ | **On** | **...** | **O1** | **In** | **→** | **On** | **...** | **O1** | **On** | | //Level n+1// | //...// | //Level 2// | //Level 1// | //→// | //Level n+1// | //...// | //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 ''PICK'' command creates a duplicate of the object on the specified level of the stack (i.e. the (N+1)-th level, since level 1 contains N). ---- This command is fully compatible with userRPL. ---- 5: ∡60° 4: "This is a string" 3: { 'X' 'Y' 'Z' } 2: 1_m 1: 4 …………………………………………………………………………………… PICK will result in 5: ∡60° 4: "This is a string" 3: { 'X' 'Y' 'Z' } 2: 1_m 1: ∡60° …………………………………………………………………………………… ---- {{page>manual:chapter6:stack&nofooter&noeditbtn&inline}}