Revision c9391aaa376223018f7c8a4d2c92b9cffdb46cfb authored by chou86_e on 13 September 2008, 23:25:27 UTC, committed by chou86_e on 13 September 2008, 23:25:27 UTC
git-svn-id: https://svn.code.sf.net/p/ucblogo/code@199 fc4ef4ee-df3e-0410-84de-fb01f5d6c4f7
1 parent 063fd0f
array
ARRAY size
(ARRAY size origin)
outputs an array of "size" members (must be a positive integer),
each of which initially is an empty list. Array members can be
selected with ITEM and changed with SETITEM. The first member of
the array is member number 1 unless an "origin" input (must be an
integer) is given, in which case the first member of the array has
that number as its index. (Typically 0 is used as the origin if
anything.) Arrays are printed by PRINT and friends, and can be
typed in, inside curly braces; indicate an origin with {a b c}@0.
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...