On 24/01/2007, at 1:15 AM, [EMAIL PROTECTED] wrote:

On Jan 23, 2007, at 16:55 UTC, Norman Palardy wrote:

Seems like the best fix would be to fix .Close so work arounds like
this are unnecessary

It's not a work-around, and even if Close (or rather, the write methods after closing) were changed as requested, I still wouldn't use it. The
point is, once the stream has been closed, I don't want to be able to
use it any more -- and if I mistakenly do, I want this caught at
compile time, not at run time.


Absolutely!

I frequently use the equivalent in C or C++ of just

{
declare something
use something
}

The advantage being that C allows you to just arbitrarily bracket code to generate a local scope.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to