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_stkpush [2019/10/19 14:15] jojo1973 Redone according final template |
manual:chapter6:stack:cmd_stkpush [2019/10/22 15:22] jojo1973 Fixed internal link |
^ __Input Stack__ ^ ^ __Output Stack__ ^ | ^ __Input Stack__ ^ ^ __Output Stack__ ^ |
| | **→** | | | | | **→** | | |
| //Level 1// | **→** | //Level 1// | | | //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 || |
The ''STKPUSH'' command creates a snapshot of the stack and pushes it on the top of the Undo stack. The Undo stack may contain up to 8 snapshots: each time a ninth is pushed on it, the snapshot on level 8 is lost. | The ''STKPUSH'' command creates a snapshot of the stack and pushes it on the top of the Undo stack. The Undo stack may contain up to 8 snapshots: each time a ninth is pushed on it, the snapshot on level 8 is lost. |
| |
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 stack: the only effect of ''STKPUSH'' would be to duplicate the latest snapshot. | 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 ''STKPUSH'' would be to duplicate the latest snapshot. |
</callout> | </callout> |
| |