Article View: comp.std.c
Article #3427Re: Multi-level break and elimination of GOTO
From: Maurizio Loreti
Date: Thu, 21 Sep 1995 14:42
Date: Thu, 21 Sep 1995 14:42
22 lines
1720 bytes
1720 bytes
In article <43qheu$l1o@caip.rutgers.edu>, halasz@caip.rutgers.edu writes: >In article <DF8FE3.97H@news.cern.ch>, loreti@axcdf1.pd.infn.it (Maurizio Loreti) writes >: ... To have a >: clear indication of where exactly a break(n) jumps, would it not be >: better to write it "break <label>"? And what is that construct? A >: GOTO WITH A DIFFERENT NAME. >No more, no less, than "while", "switch", "if" also are. >The important differens between "goto" and suggested "break <label>" is >context: a "goto" and its label mai hav almost anie relativ pozition >within the function, but "break" and its label hav no such freedom. > >Plz not misinform such poor souls with the notion that there can be >nothing better than "goto" in such case; Awozniak@Galaxy.csc.calpoly.edu >is on the right track. > >This discussion is quite old nou; look through postings no more than >three weeks old in "comp.std.c". There hav been excellent suggestions. Can some kind soul translate to english (or italian) that answer? Maurizio Loreti http://mvxpd5.pd.infn.it/wwwcdf/mlo.html Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it
Technical Details
Message-ID:
<DF9Cr7.8Hw@news.cern.ch>Path:
arc1-ca.pugleaf.net!axcdf1.pd.infn.it!LORETIReferences:
<43pdut$hoh@galaxy.csc.calpoly.edu> <DF8FE3.97H@news.cern.ch>,<43qheu$l1o@caip.rutgers.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c,comp.lang.c Path: arc1-ca.pugleaf.net!axcdf1.pd.infn.it!LORETI From: loreti@axcdf1.pd.infn.it (Maurizio Loreti) Subject: Re: Multi-level break and elimination of GOTO X-Nntp-Posting-Host: axcdf1.pd.infn.it Message-ID: <DF9Cr7.8Hw@news.cern.ch> Sender: news@news.cern.ch (USENET News System) Reply-To: loreti@axcdf1.pd.infn.it Organization: I.N.F.N. Padova - CDF/CMS VAXcluster References: <43pdut$hoh@galaxy.csc.calpoly.edu> <DF8FE3.97H@news.cern.ch>,<43qheu$l1o@caip.rutgers.edu> Date: Thu, 21 Sep 1995 14:42:41 GMT