mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
[forth/en] don't -> don't
This commit is contained in:
parent
25301f779f
commit
03da44dd0b
@ -54,7 +54,7 @@ Forth, but most of what is written here should work elsewhere.
|
||||
3 dup - \ duplicate the top item (1st now equals 2nd): 3 - 3
|
||||
2 5 swap / \ swap the top with the second element: 5 / 2
|
||||
6 4 5 rot .s \ rotate the top 3 elements: 4 5 6
|
||||
4 0 drop 2 / \ remove the top item (dont print to screen): 4 / 2
|
||||
4 0 drop 2 / \ remove the top item (don't print to screen): 4 / 2
|
||||
1 2 3 nip .s \ remove the second item (similar to drop): 1 3
|
||||
|
||||
\ ---------------------- More Advanced Stack Manipulation ----------------------
|
||||
|
Loading…
Reference in New Issue
Block a user