finalisation
Brent Pinkney
brent.pinkney at aircom.co.za
Tue Jan 27 09:29:06 UTC 2004
This is what I often do:
[file := FileStream newFileNamed: 'foo.bar'.
] ensure:
[ file ifNotNilDo: [ :x | x close ] ].
Does this not catch all the possibilities ?
Brent
More information about the Squeak-dev
mailing list
|