Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
manual:chapter6:stack:cmd_drop [2018/03/20 07:46] claudio |
manual:chapter6:stack:cmd_drop [2019/11/06 15:46] jojo1973 |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== DROP ==== | ==== DROP ==== | ||
---- | ---- | ||
- | <callout color=" | + | < |
- | ^ Input Stack ^ ^ Output Stack ^ | + | ---- |
- | | **O** | → | << | + | Remove one object from the top of the stack |
+ | </ | ||
+ | |||
+ | <callout color=" | ||
+ | ---- | ||
+ | ^ | ||
+ | | **O** | **→** | ||
+ | | //Level 1// | // | ||
{{page> | {{page> | ||
- | | **Can be used in symbolics** | No | | + | |**Type**| [[manual: |
- | | **Affected by flags** | No | | + | |**Parallel list processing**| [[manual: |
+ | |**Affected by flags**| | ||
+ | </ | ||
+ | <callout color=" | ||
---- | ---- | ||
- | ===Description=== | + | The '' |
- | This command | + | |
- | ---- | + | |
</ | </ | ||
- | <callout type=" | + | |
- | ===Compatibility=== | + | <callout type=" |
+ | ---- | ||
This command is fully compatible with userRPL. | 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=" | + | |
- | ===Related | + | <callout color=" |
+ | ---- | ||
{{page> | {{page> | ||
</ | </ |