manual:chapter6:stack:cmd_drop

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
Next revision Both sides next revision
manual:chapter6:stack:cmd_drop [2018/03/14 15:04]
claudio
manual:chapter6:stack:cmd_drop [2019/10/22 14:54]
jojo1973 Fixed internal link
Line 1: Line 1:
 ==== DROP ==== ==== DROP ====
 ---- ----
-<panel title="Stack diagram"+<callout type="primarycolor="" icon="fa fa-booktitle="Synopsis"> 
-^ Input Stack ^  ^ Output Stack ^ +---- 
-| **O** | → | <<Empty>>+Remove one object from the top of the stack 
-<button modal="stack-legendsize="xs">Legend</button+</callout> 
-<modal id="stack-legendsize="lg" title="Stack diagram help"> + 
-Legend  Object type +<callout color="greenicon="fa fa-indent" title="Stack Diagram"> 
-| **O**  | Any object | +---- 
-| **I**  | Integer number | + __Input Stack__    __Output Stack__  
-**R**  | Real number | + **O<sub>1</sub>**  |  ****  |  | 
-| **Z**  | Complex number +|  //Level 1//   //→//  |  //Level 1//   
-**A**  | Algebraic expression | + 
-| **N**  Variable name identifier | +{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} 
-| **L**  List | + 
-| **V**  Vector | +|**Type**| [[manual:chapter5:basics#commands|Command]]  || 
-| **M**  Matrix | +|**Parallel list processing**| [[manual:chapter5:listproc#group-2commands-that-must-use-dolist-to-parallel-process|Group 2]]  ||  
-**P**  Program +|**Affected by flags**| None  || 
-| **Lib** | Library | +</callout
-| **G** Graphics + 
-| **U** | Units | +<callout color="orangered" icon="fa fa-comment" title="Description"> 
-| **S** | String +---- 
-</modal+The ''DROP'' command deletes the object on the top of the stack, shifting the remaining ones by one level
-</panel> +</callout> 
-<panel title="Usage Notes"> + 
-This command will remove one object from the top of the stack. +<callout type="success" icon="true" title="Compatibility"> 
-</panel+---- 
-<panel title="Compatibility Notes"> +This command is fully compatible with userRPL. 
-</panel+</callout> 
-<panel title="Examples"> + 
-</panel>+<callout type="info" icon="true" title="Usage"> 
 +---- 
 +<code> 
 +3:            "This is a string" 
 +2:               { 'X' 'Y' 'Z'
 +1:                           1_m 
 +…………………………………………………………………………………… 
 +DROP 
 +</code> 
 +will result in 
 +<code> 
 +2:            "This is a string" 
 +1:               { 'X' 'Y' 'Z'
 +…………………………………………………………………………………… 
 + 
 +</code> 
 +</callout> 
 + 
 +<callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> 
 +---- 
 +{{page>manual:chapter6:stack&nofooter&noeditbtn&inline}} 
 +</callout>
  • manual/chapter6/stack/cmd_drop.txt
  • Last modified: 2019/11/28 14:44
  • by jojo1973