summaryrefslogtreecommitdiffhomepage
path: root/forth.html.markdown
diff options
context:
space:
mode:
authorHorseMD <alightedness@gmail.com>2014-11-18 12:01:59 +0000
committerHorseMD <alightedness@gmail.com>2014-11-18 12:01:59 +0000
commit1e1ff8bd10990e81cd18b2393a781c5061538bc0 (patch)
tree49b200f9a5ebda27d3b7f4ea460eab335842651b /forth.html.markdown
parent6e912f4b46b02fbed110502e5b1cf1ecd600ab4c (diff)
Fix typo when demonstrating variables.
Diffstat (limited to 'forth.html.markdown')
-rw-r--r--forth.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/forth.html.markdown b/forth.html.markdown
index 4c89a5ec..5db7b51f 100644
--- a/forth.html.markdown
+++ b/forth.html.markdown
@@ -130,8 +130,8 @@ variable age \ ok
\ Finally we can print our variable using the "read" word `@`, which adds the
\ value to the stack, or use `?` that reads and prints it in one go.
-age @ . \ 12 ok
-age ? \ 12 ok
+age @ . \ 21 ok
+age ? \ 21 ok
\ Constants are quite simiar, except we don't bother with memory addresses:
100 constant WATER-BOILING-POINT \ ok