==== UNPICK ====
----
----
Move object from level 1 to level N
----
^ __Input Stack__ ^^^^^^ ^ __Output Stack__ ^^^^
| **On** | **On-1** | **...** | **O1** | **O** | **In** | **→** | **O** | **On-1** | **...** | **O1** |
| //Level n+2// | //Level n+1// | //...// | //Level 3// | //Level 2// | //Level 1// | //→// | //Level n// | //Level n-1// | //...// | //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 ''UNPICK'' command copies the object at the second level on the stack to the specified level (i.e. the (N+2)-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: 3
……………………………………………………………………………………
UNPICK
will result in
3: 1_m
2: "This is a string"
1: { 'X' 'Y' 'Z' }
……………………………………………………………………………………
----
{{page>manual:chapter6:stack&nofooter&noeditbtn&inline}}