Stream Question
Ned Konz
ned at bike-nomad.com
Tue Sep 18 17:32:01 UTC 2001
On Tuesday 18 September 2001 10:08 am, Ken G. Brown wrote:
> strm _ ReadWriteStream on: (String new: 10000).
> strm nextPutAll: 'aaaaaaaaa'.
> get _ strm next. "gets nil"
There is a single position for the ReadWriteStream.
If you add a "strm reset" before your "strm next" you will move that position
to the beginning of the collection and you will get your first $a.
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|