1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 18:24:39 +02:00

Fix typo when demonstrating variables.

This commit is contained in:
HorseMD
2014-11-18 12:01:59 +00:00
parent 6e912f4b46
commit 1e1ff8bd10

View File

@@ -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