summaryrefslogtreecommitdiffhomepage
path: root/forth.html.markdown
diff options
context:
space:
mode:
authorShawn Zhang <shawnzhang009@gmail.com>2016-03-15 11:42:20 +0800
committerShawn Zhang <shawnzhang009@gmail.com>2016-03-15 11:42:20 +0800
commitb38a7645366b1580b5f554303e411447c7d2d09d (patch)
treecfe5c9e59fa1f3611a5b5545f9b2d74cbac461f2 /forth.html.markdown
parent072424afd77b9d772102f83508fcc337ffc81a7d (diff)
parentfbe11b52d5fe839f791935012b93ff8ef2ac91f6 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'forth.html.markdown')
-rw-r--r--forth.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/forth.html.markdown b/forth.html.markdown
index b4a5581b..55d755b2 100644
--- a/forth.html.markdown
+++ b/forth.html.markdown
@@ -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 ----------------------