🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3501

Re: Multi-level break and elimination of GOTO

#3501
From: Greg Comeau
Date: Wed, 22 Nov 1995 23:13
25 lines
1322 bytes
In article <487u4k$2eo@sargas.omicron.se> elias@omicron.se (Elias Martenson) writes:
>rich@kastle.com (Richard Krehbiel) writes:
>
>>Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
>
>>It does.  Unfortunately it's ambiguous.  Remember, the braces are not
>>required.
>
>>do
>>    thing;
>>while (i == 0);
>
>>"thing" could be a label and the loop body a null statement, or
>>"thing;" could be the loop body statement.
>
>What about the $ sign? It's never used?

Although that's an extension character with some compilers,
wouldn't that be a problem for some non-ASCII keyboard?

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
 Here:comeau@csanta.attmail.com / BIX:comeau or comeau@bix.com / CIS:72331,3421
    Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a / WELL: comeau
Technical Details
Message-ID: <490aqr$36q@panix.com>
Path: arc1-ca.pugleaf.net!prodigy.com!panix!not-for-mail
References: <815950407snz@genesis.demon.co.uk> <1995Nov13.132225.12081@friend.kastle.com> <487u4k$2eo@sargas.omicron.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!prodigy.com!panix!not-for-mail
From: comeau@panix.com (Greg Comeau)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: Multi-level break and elimination of GOTO
Date: 22 Nov 1995 18:13:31 -0500
Organization: Comeau Computing
Message-ID: <490aqr$36q@panix.com>
References: <815950407snz@genesis.demon.co.uk> <1995Nov13.132225.12081@friend.kastle.com> <487u4k$2eo@sargas.omicron.se>
Reply-To: comeau@csanta.attmail.com (Greg Comeau)
NNTP-Posting-Host: panix.com