summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--forth.html.markdown5
1 files changed, 4 insertions, 1 deletions
diff --git a/forth.html.markdown b/forth.html.markdown
index 5db7b51f..570e12ed 100644
--- a/forth.html.markdown
+++ b/forth.html.markdown
@@ -139,7 +139,10 @@ WATER-BOILING-POINT . \ 100 ok
\ ----------------------------------- Arrays -----------------------------------
-\ Set up an array of length 3:
+\ Creating arrays is similar to variables, except we need to allocate more
+\ memory to them.
+
+\ You can use `2 cells allot` to create an array that's 3 cells long:
variable mynumbers 2 cells allot \ ok
\ Initialize all the values to 0