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 [2019/10/01 15:40] jojo1973 Removed duplicate description |
manual:chapter6:stack:cmd_drop [2019/11/28 14:44] (current) jojo1973 Added flags -28 and -29 |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== DROP ==== | ==== DROP ==== | ||
---- | ---- | ||
- | <callout type=" | + | <callout type=" |
---- | ---- | ||
- | This command will remove | + | Remove |
</ | </ | ||
- | <callout color=" | + | <callout color=" |
---- | ---- | ||
^ __Input Stack__ | ^ __Input Stack__ | ||
| **O** | **→** | | **O** | **→** | ||
- | | //Level 1// | | + | | //Level 1// | |
{{page> | {{page> | ||
- | | {{fa> | + | |**Type**| [[manual: |
- | | {{fa> | + | |**Parallel |
- | | {{fa> | + | |**Affected by flags**| [[manual: |
+ | |:::| [[manual: | ||
</ | </ | ||
- | < | + | < |
---- | ---- | ||
- | This command is fully compatible with userRPL. | + | The '' |
+ | |||
+ | When the stack is in RPN mode '' | ||
+ | </ | ||
+ | |||
+ | <callout type=" | ||
+ | ---- | ||
+ | This command is only partially | ||
+ | |||
+ | In particular: | ||
+ | * In userRPL RPN stack mode is not supported. | ||
</ | </ | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
- | The following program: | ||
< | < | ||
- | « | + | 3: "This is a string" |
- | 123 | + | 2: { ' |
- | 456 | + | 1: 1_m |
- | 789 | + | …………………………………………………………………………………… |
- | DROP | + | DROP |
- | » | + | </ |
+ | will result in | ||
+ | < | ||
+ | 2: "This is a string" | ||
+ | 1: { ' | ||
+ | …………………………………………………………………………………… | ||
</ | </ | ||
- | leaves '' | ||
</ | </ | ||
- | <callout color=" | + | <callout color=" |
+ | ---- | ||
{{page> | {{page> | ||
</ | </ |