diff options
author | Joseph Gabriel J. Adaoag <joseph@kalibrr.com> | 2017-10-13 16:20:14 +0800 |
---|---|---|
committer | Joseph Gabriel J. Adaoag <joseph@kalibrr.com> | 2017-10-16 14:32:51 +0800 |
commit | 6b8264756b574be0af84e0a8a104cfa75c0027bb (patch) | |
tree | ff1623a1eff0a610ead9f7519c4ba7d2903f0102 /forth.html.markdown | |
parent | 8612e00b9f26feafcb531609f0ab0ec61ea06dd0 (diff) |
Fix tuck definition
Diffstat (limited to 'forth.html.markdown')
-rw-r--r-- | forth.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forth.html.markdown b/forth.html.markdown index 09f3beb0..ff094017 100644 --- a/forth.html.markdown +++ b/forth.html.markdown @@ -59,7 +59,7 @@ Forth, but most of what is written here should work elsewhere. \ ---------------------- More Advanced Stack Manipulation ---------------------- -1 2 3 4 tuck \ duplicate the top item into the second slot: 1 2 4 3 4 ok +1 2 3 4 tuck \ duplicate the top item below the second slot: 1 2 4 3 4 ok 1 2 3 4 over \ duplicate the second item to the top: 1 2 3 4 3 ok 1 2 3 4 2 roll \ *move* the item at that position to the top: 1 3 4 2 ok 1 2 3 4 2 pick \ *duplicate* the item at that position to the top: 1 2 3 4 2 ok |