summaryrefslogtreecommitdiffhomepage
path: root/forth.html.markdown
diff options
context:
space:
mode:
authorHorseMD <alightedness@gmail.com>2014-11-18 12:19:12 +0000
committerHorseMD <alightedness@gmail.com>2014-11-18 12:19:12 +0000
commit39ac935c4f2fefa0d63ed8e87bb7142a9c458188 (patch)
treeebd371c3cbbaf042494855bcc57747796bc17cd5 /forth.html.markdown
parent1e1ff8bd10990e81cd18b2393a781c5061538bc0 (diff)
Reword arrays introduction.
Diffstat (limited to 'forth.html.markdown')
-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