[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Nit

From: Andrew Suffield
Subject: Re: [Gnu-arch-users] Nit
Date: Wed, 22 Oct 2003 03:58:35 +0100
User-agent: Mutt/1.5.4i

On Tue, Oct 21, 2003 at 05:13:55PM -0500, Charles Duffy wrote:
> One effective difference between C and Java: While there may be some
> necessity of having an effective handler for any given error, Java's
> syntax allows clumping rather than checking individually.

You can actually accomplish this in C, by using a variable outside the
scope of the functions. For ISO C, this means using a global, which
means sacrificing re-entrancy; for GNU C, you can do it using nested

I've used it once or twice, but only that often - it's not widely

  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' : |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]