[Newbies] Arrays within arrays
Randal L. Schwartz
merlyn at stonehenge.com
Thu Sep 4 15:28:19 UTC 2008
>>>>> "Charles" == Charles Gray <tcykgreis at gmail.com> writes:
Charles> strength := Array new: 10.
You don't need to do that, if you're doing this:
Charles> strength := #( #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 0)
Charles> #(2 1 0 0) #( 8 4 0 1) #(14 6 0 2) #(30 12 1 4)).
And that works for me. What version are you using?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Beginners
mailing list