[Newbies] Re: combining arrays.....?
noobie
pntball650 at aol.com
Tue May 4 02:38:40 UTC 2010
I cant get the comma thing to work.....what I was trying is something like
combine: arg
|Array1 i|
Array1 := Array new: (self size + arg size).
i:= (self size + arg size).
[i>0] whileTrue:
[
(i=nil) ifTrue: [Array1 at: i put:(self at i).]
ifFalse: [Array1 at: i put:(arg at i). i:= i+1.]
].
But I cant seem to get it working??
--
View this message in context: http://forum.world.st/combining-arrays-tp2124676p2124887.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list