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/20 06:48] 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** | → | << | + | Remove one object from the top of the stack |
- | {{page>manual: | + | </ |
- | | **Command category** | [[..: | + | <callout color=" |
- | | **Can be used in symbolics** | No | | + | ---- |
- | | **Affected by flags** | + | ^ __Input Stack__ |
+ | | **O** | **→** | | | ||
+ | | // | ||
+ | {{page> | ||
+ | |||
+ | |**Type**| [[manual: | ||
+ | |**Parallel list processing**| [[manual: | ||
+ | |**Affected by flags**| | ||
+ | |:::| [[manual: | ||
+ | </ | ||
+ | |||
+ | <callout color=" | ||
---- | ---- | ||
- | ===Description=== | + | The '' |
- | This command | + | |
+ | When the stack is in RPN mode '' | ||
+ | </ | ||
+ | |||
+ | <callout type=" | ||
---- | ---- | ||
- | ===Related commands=== | + | This command is only partially compatible with userRPL. |
- | DROPN DROP2 | + | |
+ | In particular: | ||
+ | * In userRPL RPN stack mode is not supported. | ||
</ | </ | ||
- | <callout type=" | ||
- | ===Compatibility=== | ||
- | This command is fully compatible with userRPL. | ||
- | </ | ||
- | <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> | ||
+ | </ |