Exception Handling, Scope and Destructor questions
Jarrett Billingsley
kb3ctd2 at yahoo.com
Mon Feb 12 18:01:28 PST 2007
"Kirk McDonald" <kirklin.mcdonald at gmail.com> wrote in message
news:eqqjbc$ebp$1 at digitalmars.com...
>> Lastly, the catch() does not need to have a scope, yes? something like
>> catch(Exception e) ProcessGeneric(); in summary of the code above?
>
> Yes, this is allowed.
Wow, you learn something new every day :) Never knew you could make
try/catch/finally statements without the braces. Huh. I'll have to add
that to MiniD.
More information about the Digitalmars-d-learn
mailing list