[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to exit out of a function ? what is try-catch-throw in terms of
From: |
gnuist006 |
Subject: |
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter |
Date: |
Tue, 23 Oct 2007 16:44:03 -0000 |
User-agent: |
G2/1.0 |
On Oct 23, 9:33 am, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > NOTE: I am really afraid of try-catch-throw. I have never been
> > able to understand it since it does not exist in C and I can't
> > really visualize the construct in terms of C. That is what my
>
> Actually, these constructs pretty much exist in C as well: `catch' is called
> `setjmp', and `throw' is called `longjmp'.
>
> Stefan
Is it in some obscure corner of K&R ANSI ? I was never taught this one
by my instructor. Can you explain its syntax and patterns of usage ?
- Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, (continued)
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, Jim Langston, 2007/10/21
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, Malcolm McLean, 2007/10/21
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, abhy, 2007/10/21
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, Joel Yliluoma, 2007/10/23
Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter, Stefan Monnier, 2007/10/23