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_clear [2019/10/18 14:43] jojo1973 Fixed instructions to recovery the stack |
manual:chapter6:stack:cmd_clear [2021/09/14 15:25] (current) jojo1973 Redone |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== CLEAR ==== | ==== CLEAR ==== | ||
- | ---- | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
- | Delete | + | Delete |
</ | </ | ||
<callout color=" | <callout color=" | ||
---- | ---- | ||
- | ^ __Input Stack__ | + | ^ __Input Stack__ |
- | | **O< | + | | **O< |
- | | //Level n// | // | + | | //Level n// | // |
{{page> | {{page> | ||
- | |**Type**| [[manual: | + | | **Keyword type** | [[manual: |
- | |**Parallel list processing**| [[manual: | + | | **Parallel list processing |
- | |**Affected by flags**| | + | | **Affected by flags** |
+ | | ::: | [[manual: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</ | </ | ||
<callout color=" | <callout color=" | ||
---- | ---- | ||
- | The '' | + | The '' |
+ | |||
+ | When in RPN mode '' | ||
</ | </ | ||
- | <callout type="success" icon=" | + | <callout type="warning" icon=" |
---- | ---- | ||
- | This command | + | '' |
+ | |||
+ | In particular: | ||
+ | |||
+ | * **userRPL** has no RPN stack mode. | ||
</ | </ | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
+ | **__Input__** | ||
< | < | ||
- | 4: 123 | + | 4: 1_m |
- | 3: " | + | 3: |
- | 2: { ' | + | 2: "This is a string" |
- | 1: 1_m | + | 1: 123 |
- | …………………………………………………………………………………… | + | ………………………………………………………………………………………………………… |
- | CLEAR | + | CLEAR |
</ | </ | ||
- | will result in an empty stack.</ | + | \\ |
+ | **__Output__** | ||
+ | < | ||
+ | 4: | ||
+ | 3: | ||
+ | 2: | ||
+ | 1: | ||
+ | ………………………………………………………………………………………………………… | ||
+ | |||
+ | </ | ||
+ | </ | ||
<callout color=" | <callout color=" | ||
Line 45: | Line 75: | ||
{{page> | {{page> | ||
</ | </ | ||
+ |