Arrays / collections with literal syntax - fixed size?

Randal L. Schwartz merlyn at
Sun Jan 6 06:00:15 UTC 2008

>>>>> "itsme213" == itsme213  <itsme213 at> writes:

itsme213> "Randal L. Schwartz" <merlyn at> wrote in message
itsme213> They both seem to yield Array, which apparently has a fixed
itsme213> size.
>> Yes, because those can't change during compilation.

itsme213> Can't they be changed subsequently?

The intent of an array is that it's readonly ("immutable").

And this belongs on -beginners, not -dev.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at> <URL:>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See for onsite and open-enrollment Perl training!

More information about the Squeak-dev mailing list