mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Reword arrays introduction.
This commit is contained in:
parent
1e1ff8bd10
commit
39ac935c4f
@ -139,7 +139,10 @@ WATER-BOILING-POINT . \ 100 ok
|
|||||||
|
|
||||||
\ ----------------------------------- Arrays -----------------------------------
|
\ ----------------------------------- 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
|
variable mynumbers 2 cells allot \ ok
|
||||||
|
|
||||||
\ Initialize all the values to 0
|
\ Initialize all the values to 0
|
||||||
|
Loading…
Reference in New Issue
Block a user