diff options
Diffstat (limited to 'forth.html.markdown')
| -rw-r--r-- | forth.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/forth.html.markdown b/forth.html.markdown index 55d755b2..ff094017 100644 --- a/forth.html.markdown +++ b/forth.html.markdown @@ -12,7 +12,7 @@ such as Open Firmware. It's also used by NASA.  Note: This article focuses predominantly on the Gforth implementation of  Forth, but most of what is written here should work elsewhere. -``` +```forth  \ This is a comment  ( This is also a comment but it's only used when defining words ) @@ -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 | 
