[Cuis-dev] WriteStream

Mark Volkmann r.mark.volkmann at gmail.com
Sun Sep 22 16:55:52 PDT 2024


Can someone explain why this code does not add the String grape to the end
of coll?
It sure seems like that is what the pastEndPut: method is supposed to do.

coll := OrderedCollection newFrom: #('apple' 'banana' 'cherry').
stream := coll writeStream.
stream pastEndPut: 'grape'.
coll print.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240922/fc746d88/attachment.htm>


More information about the Cuis-dev mailing list