Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:chapter6:stack:cmd_drop [2018/03/14 15:39] claudio |
manual:chapter6:stack:cmd_drop [2019/11/28 14:44] (current) jojo1973 Added flags -28 and -29 |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== DROP ==== | ==== DROP ==== | ||
---- | ---- | ||
- | <callout color=" | + | < |
- | ^ Input Stack ^ ^ Output Stack ^ | + | |
- | | **O** | → | << | + | |
- | <button modal=" | + | |
- | <modal id=" | + | |
- | ^ Legend | + | |
- | | **O** | Any object | | + | |
- | | **I** | Integer number | | + | |
- | | **R** | Real number | | + | |
- | | **Z** | Complex number | | + | |
- | | **A** | Algebraic expression | | + | |
- | | **N** | Variable name / identifier | | + | |
- | | **L** | List | | + | |
- | | **V** | Vector | | + | |
- | | **M** | Matrix | | + | |
- | | **P** | Program | | + | |
- | | **Lib** | Library | | + | |
- | | **G** | Graphics | | + | |
- | | **U** | Units | | + | |
- | | **S** | String | | + | |
- | </modal> | + | |
---- | ---- | ||
- | | **Command category** | [[..: | + | Remove one object from the top of the stack |
- | | Can be used in symbolics | No | | + | </ |
- | | Affected by flags | No | | + | |
+ | <callout color=" | ||
---- | ---- | ||
- | ===Description=== | + | ^ __Input Stack__ |
- | This command will remove one object from the top of the stack. | + | | **O** | **→** |
+ | | //Level 1// | // | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | |**Type**| [[manual: | ||
+ | |**Parallel list processing**| [[manual: | ||
+ | |**Affected by flags**| | ||
+ | |:::| [[manual: | ||
+ | </ | ||
+ | |||
+ | <callout color=" | ||
---- | ---- | ||
- | ===Related commands=== | + | The '' |
- | DROPN DROP2 | + | |
+ | When the stack is in RPN mode '' | ||
</ | </ | ||
- | <callout type="success" icon=" | + | |
- | ===Compatibility=== | + | <callout type="warning" icon=" |
- | This command is fully compatible with userRPL. | + | ---- |
+ | This command is only partially | ||
+ | |||
+ | In particular: | ||
+ | * In userRPL RPN stack mode is not supported. | ||
</ | </ | ||
- | <callout type=" | ||
- | The following program: | ||
- | « 123 DROP » | + | <callout type=" |
- | + | ---- | |
- | Will have no effect on the stack. | + | < |
+ | 3: "This is a string" | ||
+ | 2: { ' | ||
+ | 1: 1_m | ||
+ | …………………………………………………………………………………… | ||
+ | DROP | ||
+ | </ | ||
+ | will result in | ||
+ | < | ||
+ | 2: "This is a string" | ||
+ | 1: { ' | ||
+ | …………………………………………………………………………………… | ||
+ | |||
+ | </ | ||
</ | </ | ||
+ | <callout color=" | ||
+ | ---- | ||
+ | {{page> | ||
+ | </ |