Article View: comp.std.c
Article #3478Re: Multi-level break and elimination of GOTO
From: Paul Long
Date: Sun, 12 Nov 1995 19:24
Date: Sun, 12 Nov 1995 19:24
22 lines
1698 bytes
1698 bytes
Lawrence Kirby <fred@genesis.demon.co.uk> wrote: [snip] >It would be quite reasonable to specify the grammar to limit this type >of label only to compound statements. Ugh. Special cases are the bane of useability. >In fact one of the possibilities >is simply to define a compound statement label which has scope limited >to within the compound statement labelled. You're getting close to situation indicators, which I would prefer if I were defining a new language. I think labeled loops are a hack--I would want something both more general and unified, not optional clauses to sundry existing constructs. -- Paul Long plong@perf.com http://www.teleport.com/~pciwww/ "A perfect method should not only be an efficient one, as respects the accomplishment of the objects for which it is designed, but should in all its parts and processes manifest a certain unity and harmony." - George Boole, _An Investigation of the Laws of Thought_
Technical Details
Message-ID:
<485hl3$6e7@news0.rain.rg.net>Path:
arc1-ca.pugleaf.net!homer.alpha.net!pacifier!rainrgnews0!usenetReferences:
<47s7l0$r18@news.mel.aone.net.au> <815950407snz@genesis.demon.co.uk> <480eio$2uf@news0.rain.rg.net> <481trh$cuj@news0.rain.rg.net> <816099986snz@genesis.demon.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!homer.alpha.net!pacifier!rainrgnews0!usenet From: Paul Long <plong@perf.com> Newsgroups: comp.std.c,comp.lang.c Subject: Re: Multi-level break and elimination of GOTO Date: 12 Nov 1995 19:24:19 GMT Organization: Performance Computing Incorporated Message-ID: <485hl3$6e7@news0.rain.rg.net> References: <47s7l0$r18@news.mel.aone.net.au> <815950407snz@genesis.demon.co.uk> <480eio$2uf@news0.rain.rg.net> <481trh$cuj@news0.rain.rg.net> <816099986snz@genesis.demon.co.uk> NNTP-Posting-Host: yosemite.perf.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.1 sun4c) X-URL: news:816099986snz@genesis.demon.co.uk