manual:chapter6:stack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

manual:chapter6:stack [2019/05/23 07:12]
manual:chapter6:stack [2021/08/13 13:12] (current)
Line 1: Line 1:
 +<button collapse="stack-commands" block="true" >**Stack manipulation**  <badge>27</badge> <badge>5 NEW</badge></button>
 +<collapse id="stack-commands" collapsed="true">
 +
 +^ Command  ^ Short Description ^  ^
 +| **[[manual:chapter6:stack:cmd_clear|CLEAR]]** | Remove all objects from the stack |  |
 +| **[[manual:chapter6:stack:cmd_depth|DEPTH]]** | Get the current stack depth |  |
 +| **[[manual:chapter6:stack:cmd_drop|DROP]]** | Remove an object from the stack |  |
 +| **[[manual:chapter6:stack:cmd_drop2|DROP2]]** | Remove two objects form the stack |  |
 +| **[[manual:chapter6:stack:cmd_dropn|DROPN]]** | Remove N objects from the stack |  |
 +| **[[manual:chapter6:stack:cmd_dup|DUP]]** | Duplicate an object on the stack |  |
 +| **[[manual:chapter6:stack:cmd_dup2|DUP2]]** | Duplicate two objects on the stack |  |
 +| **[[manual:chapter6:stack:cmd_dupdup|DUPDUP]]** | Duplicate the same object twice on the stack |  |
 +| **[[manual:chapter6:stack:cmd_dupn|DUPN]]** | Duplicate a group of N objects |  |
 +| **[[manual:chapter6:stack:cmd_ndupn|NDUPN]]** | Replicate one object N times and return N |  |
 +| **[[manual:chapter6:stack:cmd_nip|NIP]]** | Remove object at level 2 on the stack |  |
 +| **[[manual:chapter6:stack:cmd_over|OVER]]** | Duplicate object at level 2 on the stack |  |
 +| **[[manual:chapter6:stack:cmd_pick|PICK]]** | Duplicate object at position N on the stack |  |
 +| **[[manual:chapter6:stack:cmd_pick3|PICK3]]** | Duplicate object at level 3 on the stack |  |
 +| **[[manual:chapter6:stack:cmd_roll|ROLL]]** | Move object at level N to level 1 |  |
 +| **[[manual:chapter6:stack:cmd_rolld|ROLLD]]** | Move object from level 1 to level N |  |
 +| **[[manual:chapter6:stack:cmd_rot|ROT]]** | Move object from level 3 to level 1 |  |
 +| **[[manual:chapter6:stack:cmd_swap|SWAP]]** | Exchange objects in levels 1 and 2 |  |
 +| **[[manual:chapter6:stack:cmd_unpick|UNPICK]]** | Move object from level 1 to level N. |  |
 +| **[[manual:chapter6:stack:cmd_unrot|UNROT]]** | Move object from level 1 to level 3 |  |
 +| **[[manual:chapter6:stack:cmd_ift|IFT]]** | Evaluate objects on the stack conditionally |  |
 +| **[[manual:chapter6:stack:cmd_ifte|IFTE]]** | Evaluate objects on the stack conditionally |  |
 +| **[[manual:chapter6:stack:cmd_stkpush|STKPUSH]]** | Push a snapshot of the current stack on the undo stack | <badge>NEW</badge> |
 +| **[[manual:chapter6:stack:cmd_stkpop|STKPOP]]** | Pop a stack snapshot from the undo stack | <badge>NEW</badge> |
 +| **[[manual:chapter6:stack:cmd_stkdrop|STKDROP]]** | Drop a snapshot from the undo stack | <badge>NEW</badge> |
 +| **[[manual:chapter6:stack:cmd_stkpick|STKPICK]]** | Copy snapshot in level N to the current stack | <badge>NEW</badge> |
 +| **[[manual:chapter6:stack:cmd_stkdepth|STKDEPTH]]** | Get the depth of the undo stack | <badge>NEW</badge> |
 +</collapse>