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 07:46] 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 |
| + | </ | ||
| + | |||
| + | <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**| | ||
| + | |:::| [[manual: | ||
| + | </ | ||
| + | <callout color=" | ||
| ---- | ---- | ||
| - | ===Description=== | + | The '' |
| - | This command | + | |
| + | When the stack is in RPN mode '' | ||
| + | </ | ||
| + | |||
| + | <callout type=" | ||
| ---- | ---- | ||
| + | This command is only partially compatible with userRPL. | ||
| + | |||
| + | 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=" | + | |
| - | ===Related | + | <callout color=" |
| + | ---- | ||
| {{page> | {{page> | ||
| </ | </ | ||