[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Bug in CollStream-reset or ArrayedCollection-extend?

*on is for writing on a collection.
If you want to read a collection, use the setter for collection.
Perhaps *new could be rewritten as;

	*new { arg collection;
		^super.new.collection_(collection ?? { String.new(128) })

On Nov 21, 2004, at 12:14 PM, Scott Wilson wrote:

Okay, I guess I misunderstood about CollStream. I was thinking that *on was for passing in an existing Collection to be used as a stream. I suppose I should just use a Pseq instead.