[Newbies] closing WriteStream?

Mr. Timothy C. Johnson tjohnson at iwu.edu
Wed Nov 26 01:10:46 UTC 2008


Do I need to worry about closing a WriteStream?  Currently I am working 
like this:

buildStatementFor: anObject
| statement |
statement := String new writeStream.
statement nextPutAll: 'bla bla bla'.
^ statement contents.
] ensure: statement close

... is that not needed?


More information about the Beginners mailing list