Squeak Stream Questions

stéphane ducasse ducasse at iam.unibe.ch
Sun Sep 19 13:31:20 UTC 2004


Hi all

I'm checking whether my VW slides are working in Squeak and....huge 
disappointment.
for example:

|st|
st := ReadWriteStream on: (OrderedCollection new: 5).
st nextPut: 1.
st contents.

works perfectly in VW and breaks in Squeak.
What is the reason for such a difference?
Why can I put an OrderedCollection in a stream?

|st|
st := ReadWriteStream on: (Array new: 5).
st nextPut: 1.
st contents.

works on both VW and Squeak

Stef




More information about the Squeak-dev mailing list