Differences
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_stkpush [2019/10/09 08:36] claudio |
manual:chapter6:stack:cmd_stkpush [2019/10/19 14:15] jojo1973 Redone according final template |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== STKPUSH ==== | ==== STKPUSH ==== | ||
---- | ---- | ||
- | <callout type=" | + | <callout type=" |
---- | ---- | ||
- | Push a snapshot of the current stack to level 1 on the "stack of stacks" | + | Push a snapshot of the current stack on the Undo stack |
</ | </ | ||
- | <callout color=" | + | <callout color=" |
---- | ---- | ||
^ __Input Stack__ | ^ __Input Stack__ | ||
- | | | + | | | **→** |
- | | //N Levels// | **→** | + | | //Level 1// | **→** |
{{page> | {{page> | ||
- | | {{fa> | + | |**Type**| [[manual: |
- | | {{fa> | + | |**Parallel |
- | | {{fa> | + | |**Affected by flags**| |
</ | </ | ||
- | < | + | < |
---- | ---- | ||
- | This command is new in newRPL, does not exist in userRPL. | + | The '' |
+ | |||
+ | The command has little utility in interactive mode, since each time a command is typed and [[manual: | ||
+ | </ | ||
+ | |||
+ | <callout type=" | ||
+ | ---- | ||
+ | This command is new in newRPL | ||
</ | </ | ||
<callout type=" | <callout type=" | ||
---- | ---- | ||
- | The following program: | + | The following program |
< | < | ||
« 123 | « 123 | ||
Line 35: | Line 42: | ||
» | » | ||
</ | </ | ||
- | leaves an empty stack, and when pressing Undo (**LF** | + | leaves an empty stack. If **LF** |
+ | < | ||
+ | 3: 123 | ||
+ | 2: 456 | ||
+ | 1: 789 | ||
+ | …………………………………………………………………………………… | ||
+ | </ | ||
</ | </ | ||
- | <callout color=" | + | <callout color=" |
+ | ---- | ||
{{page> | {{page> | ||
</ | </ |