Array
Last updated at 1:13 am UTC on 17 January 2006
Array is a subclass of ArrayedCollection
An is basically an integer keyed collection and offers numerous operations for accessing and manipulating the stored values. The size of an array must be defined at its initialisation.
a:= Array new:10.
b:= #(7 5).
a size.->10
b size.->2
a at:1 put:4.
a.-> #(4 nil nil nil nil nil nil nil nil nil)
a first.->4
a last.->nil