Help - Glossary - A - Array

An Array is a list of fixed length, the elements of which can be found with integers as keys.

Do Cmd-p on the next three lines

| myarray |
myarray := #(a b c d e) asArray.
"makes my array from the sequence of five constants a .. e"
myarray atWrap: 1. "returns the first item of myarray"

You can play with this inside Scamper or copy the code to a Workspace and continue there.

Glossary - A