Arrays / collections with literal syntax - fixed size?
Randal L. Schwartz
merlyn at stonehenge.com
Sun Jan 6 06:00:15 UTC 2008
>>>>> "itsme213" == itsme213 <itsme213 at hotmail.com> writes:
itsme213> "Randal L. Schwartz" <merlyn at stonehenge.com> 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 stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
More information about the Squeak-dev
mailing list
|