From: Fernando Nasser <fnasser@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Don Howard <dhoward@redhat.com>, gdb@sources.redhat.com
Subject: Re: error-catching mechanism for scripts
Date: Mon, 19 Nov 2001 15:11:00 -0000 [thread overview]
Message-ID: <3C04F9F9.33596FE8@redhat.com> (raw)
In-Reply-To: <3C04653A.7000708@cygnus.com>
Andrew Cagney wrote:
>
> From M3:
>
Excellent suggestion. Thanks.
These is also from Object Pascal, so they are easily recognizable.
It has to be the try ... except construct though.
The try...finally has a different semantics.
Fernando
> Try Except:
> http://www.research.compaq.com/SRC/m3defn/html/tryexcept.html
>
> TRY
> Body ...
> EXCEPT
> exception => action; ...
> END
>
> Try Finally:
> http://www.research.compaq.com/SRC/m3defn/html/tryfinally.html
>
> TRY
> statement 1;
> FINALLY
> statement 2;
> END
>
> might give you ideas and potential semantic issues. eg
> http://www.research.compaq.com/SRC/m3defn/html/exit.html
>
> Another key word might be trap?
>
> Andrew
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
WARNING: multiple messages have this Message-ID
From: Fernando Nasser <fnasser@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Don Howard <dhoward@redhat.com>, gdb@sources.redhat.com
Subject: Re: error-catching mechanism for scripts
Date: Wed, 28 Nov 2001 06:52:00 -0000 [thread overview]
Message-ID: <3C04F9F9.33596FE8@redhat.com> (raw)
Message-ID: <20011128065200.zudhzO2SG8uov-OEj_yv5QYnSOkWvaKDRBVRMSYaudQ@z> (raw)
In-Reply-To: <3C04653A.7000708@cygnus.com>
Andrew Cagney wrote:
>
> From M3:
>
Excellent suggestion. Thanks.
These is also from Object Pascal, so they are easily recognizable.
It has to be the try ... except construct though.
The try...finally has a different semantics.
Fernando
> Try Except:
> http://www.research.compaq.com/SRC/m3defn/html/tryexcept.html
>
> TRY
> Body ...
> EXCEPT
> exception => action; ...
> END
>
> Try Finally:
> http://www.research.compaq.com/SRC/m3defn/html/tryfinally.html
>
> TRY
> statement 1;
> FINALLY
> statement 2;
> END
>
> might give you ideas and potential semantic issues. eg
> http://www.research.compaq.com/SRC/m3defn/html/exit.html
>
> Another key word might be trap?
>
> Andrew
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
next prev parent reply other threads:[~2001-11-28 14:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-27 8:43 Don Howard
2001-11-17 12:21 ` Don Howard
2001-11-27 20:17 ` Andrew Cagney
2001-11-18 10:57 ` Andrew Cagney
2001-11-19 15:11 ` Fernando Nasser [this message]
2001-11-28 6:52 ` Fernando Nasser
2001-11-28 6:57 ` Arnaud Charlet
2001-11-20 8:44 ` Arnaud Charlet
-- strict thread matches above, loose matches on Subject: below --
2001-11-02 6:11 Don Howard
2001-11-02 8:33 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C04F9F9.33596FE8@redhat.com \
--to=fnasser@redhat.com \
--cc=ac131313@cygnus.com \
--cc=dhoward@redhat.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox