Stream Question

Ken G. Brown kbrown at tnc.com
Tue Sep 18 17:08:57 UTC 2001


Can anyone give some insight into why these snippets do not successfully
read anything with the 'next' message?

strm _ ReadWriteStream on: (String new: 10000).
strm nextPutAll: 'aaaaaaaaa'.
get _ strm next. "gets nil"

strm _ ReadWriteStream on: (Array new: 10000).
strm nextPutAll: 'aaaaaaaaa'.
get _ strm next. "gets nil"

Can you point me to some successful examples of using streams?
Thx for any help.
Ken





More information about the Squeak-dev mailing list