Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:chapter6:stack [2018/03/14 14:32]
claudio
manual:chapter6:stack [2019/05/23 07:12] (current)
Line 1: Line 1:
-<button collapse="​stk-commands"​ block="​true"​ >​**Stack ​Operations**</​button>​ +<button collapse="​stack-commands"​ block="​true"​ >​**Stack ​manipulation**  <​badge>​27</​badge>​ <​badge>​5 NEW</​badge>​</​button>​ 
-<​collapse id="stk-commands"​ collapsed="​false">​ +<​collapse id="stack-commands"​ collapsed="​true">​ 
-This group of commands deals with the stack. + 
-^ Command ​ ^ Short Description ^ Details ​+^ Command ​ ^ Short Description ^  ^ 
-| **[[manual:​chapter6:​stack:​cmd_drop|DROP]]** | Drops one level of the stack |  | +| **[[manual:​chapter6:​stack:​cmd_clear|CLEAR]]** | Remove all objects from the stack |  | 
-| **[[manual:​chapter6:​stack:​cmd_rot|ROT]]** | Rotates the last 3 levels of the stack | [[manual:​chapter6:​stack:​cmd_drop]] |+| **[[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 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>​ </​collapse>​
 +
  • manual/chapter6/stack.txt
  • Last modified: 2019/05/23 07:12
  • (external edit)