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/09/17 11:33] jojo1973 Added icons to the stack diagram |
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__ | + | Remove one object from the top of the stack |
| - | | **O** | → | | | + | </callout> |
| - | | //Level 1// | **→** | + | |
| + | <callout color=" | ||
| + | ---- | ||
| + | ^ __Input Stack__ | ||
| + | | **O** | **→** | ||
| + | | //Level 1// | // | ||
| {{page> | {{page> | ||
| - | + | |**Type**| [[manual: | |
| - | | {{fa> | + | |**Parallel list processing**| [[manual: |
| - | | {{fa> | + | |**Affected by flags**| [[manual: |
| - | | {{fa> | + | |:::| [[manual: |
| </ | </ | ||
| - | < | + | <callout color=" |
| ---- | ---- | ||
| - | This command | + | The '' |
| + | |||
| + | When the stack is in RPN mode '' | ||
| </ | </ | ||
| - | <callout type="success" icon=" | + | <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=" | <callout type=" | ||
| ---- | ---- | ||
| - | The following program: | ||
| < | < | ||
| - | « 123 456 789 DROP » | + | 3: "This is a string" |
| + | 2: { ' | ||
| + | 1: 1_m | ||
| + | …………………………………………………………………………………… | ||
| + | DROP | ||
| + | </ | ||
| + | will result in | ||
| + | < | ||
| + | 2: "This is a string" | ||
| + | 1: { ' | ||
| + | …………………………………………………………………………………… | ||
| </ | </ | ||
| - | leaves '' | ||
| </ | </ | ||
| - | <callout color=" | + | <callout color=" |
| + | ---- | ||
| {{page> | {{page> | ||
| </ | </ | ||