Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
manual:chapter6:stack:cmd_clear [2019/10/18 14:07] jojo1973 Typo |
manual:chapter6:stack:cmd_clear [2019/10/22 14:53] jojo1973 Fixed internal link |
<callout type="primary" color="" icon="fa fa-book" title="Synopsis"> | <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> |
---- | ---- |
Deletes any object on the stack, leaving it empty | Delete any object on the stack, leaving it empty |
</callout> | </callout> |
| |
<callout color="green" icon="fa fa-indent" title="Stack Diagram"> | <callout color="green" icon="fa fa-indent" title="Stack Diagram"> |
---- | |
---- | ---- |
^ __Input Stack__ ^^^ ^ __Output Stack__ ^^^ | ^ __Input Stack__ ^^^ ^ __Output Stack__ ^^^ |
| **O<sub>n</sub>** | ... | **O<sub>1</sub>** | **→** | | | | | | **O<sub>n</sub>** | **...** | **O<sub>1</sub>** | **→** | | |
| //Level n// | ... | //Level 1// | **→** | //Level n// | ... | //Level 1// | | | //Level n// | //...// | //Level 1// | //→// | //Level 1// | |
| |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} |
| |
|**Type**| [[manual:chapter5:basics#operators|Command]] || | |**Type**| [[manual:chapter5:basics#commands|Command]] || |
|**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] || | |**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] || |
|**Affected by flags**| None || | |**Affected by flags**| None || |
<callout color="orangered" icon="fa fa-comment" title="Description"> | <callout color="orangered" icon="fa fa-comment" title="Description"> |
---- | ---- |
The ''CLEAR'' command deletes all the objects from the stack. The contents can be immediately recovered pressing **LS**. | The ''CLEAR'' command deletes all the objects from the stack. The contents can be recovered pressing immediately after the **LF** key. |
</callout> | </callout> |
| |