🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3479

Re: Multi-level break and elimination of GOTO

#3479
From: Elias Martenson
Date: Mon, 13 Nov 1995 17:09
25 lines
1219 bytes
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?

do $foo
	thing;
while(i==0);

Just my 5 pennies worth...

--
Elias Martenson                            ! When I come up with a good joke,
elias@omicron.se                           ! it will be here.
Technical Details
Message-ID: <487u4k$2eo@sargas.omicron.se>
Path: arc1-ca.pugleaf.net!sargas.omicron.se!elias
References: <43pdut$hoh@galaxy.csc.calpoly.edu> <DF8FE3.97H@news.cern.ch> <47s7l0$r18@news.mel.aone.net.au> <815950407snz@genesis.demon.co.uk> <1995Nov13.132225.12081@friend.kastle.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sargas.omicron.se!elias
From: elias@omicron.se (Elias Martenson)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: Multi-level break and elimination of GOTO
Date: 13 Nov 1995 17:09:40 GMT
Organization: Omicron
Message-ID: <487u4k$2eo@sargas.omicron.se>
References: <43pdut$hoh@galaxy.csc.calpoly.edu> <DF8FE3.97H@news.cern.ch> <47s7l0$r18@news.mel.aone.net.au> <815950407snz@genesis.demon.co.uk> <1995Nov13.132225.12081@friend.kastle.com>
NNTP-Posting-Host: graffias.omicron.se
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: NN version 6.5.0 #2 (NOV)