[ANSI-Smalltalk] #contents on WriteStream

Bruce Badger bwbadger at gmail.com
Fri Oct 17 07:43:27 BST 2008


On 17/10/2008, Richard O'Keefe <ok at cs.otago.ac.nz> wrote:
> What I don't understand is why WriteStream and ReadWriteStream
>  should do _different_ things with #contents.

Because a write stream modifies contents and a read stream does not.
I imagine what I would find in a file if I closed a file stream at a
given point.  In Paolo's example, I would find 'ab' in the file.

-- 
Make the most of your skills - with OpenSkills
http://www.openskills.org/



More information about the ANSI-Smalltalk mailing list