From 1e1ff8bd10990e81cd18b2393a781c5061538bc0 Mon Sep 17 00:00:00 2001 From: HorseMD Date: Tue, 18 Nov 2014 12:01:59 +0000 Subject: [PATCH] Fix typo when demonstrating variables. --- forth.html.markdown | 4 ++-- 1 file 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