This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
manual:chapter6:stack:cmd_stkpop [2019/10/19 14:42] jojo1973 Redone according final template |
manual:chapter6:stack:cmd_stkpop [2019/10/19 15:09] jojo1973 |
| |
|**Type**| [[manual:chapter5:basics#operators|Command]] || | |**Type**| [[manual:chapter5:basics#operators|Command]] || |
|**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 2]] || | |**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] || |
|**Affected by flags**| None || | |**Affected by flags**| None || |
</callout> | </callout> |
<callout color="orangered" icon="fa fa-comment" title="Description"> | <callout color="orangered" icon="fa fa-comment" title="Description"> |
---- | ---- |
The ''STKPOP'' command clears current stack and replaces it with a snapshot recalled from the top of the Undo stack. Subsequently the snapshot is removed from the Undo stack and all its content drops one place. | The ''STKPOP'' command clears current stack and replaces it with a snapshot recalled from the top of the Undo stack. Subsequently the snapshot is removed from the Undo stack and all remaining snapshots drop one place. |
| |
The command has little utility in interactive mode, since each time a command is typed and [[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]ted a snapshot of the stack is already pushed on the Undo stack: the only effect of ''STKPOP'' would be to overwrite the current stack with a snapshot of itself. | The command has little utility in interactive mode, since each time a command is typed and [[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]ted a snapshot of the stack is already pushed on the Undo stack: the only effect of ''STKPOP'' would be to overwrite the current stack with a snapshot of itself. |