🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3393

Re: GOTO single exit point (was: Re: How to eliminate GOTO?)

#3393
From: Maurizio Loreti
Date: Sat, 02 Sep 1995 07:37
14 lines
1165 bytes
In article <DE6G2z.JJD@crdnns.crd.ge.com>, volpe@bart.crd.ge.com (Christopher R. Volpe) writes:
> ...
>	i = 0;
>begin:  if (1 >= 10) goto end;
> ...
>The above example illustrates that for-loops are second cousin to
>goto statements.

No way...  the above example illustrates a typo.

8^)

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: <DE9MEJ.7uG@news.cern.ch>
Path: arc1-ca.pugleaf.net!mxsld2.pd.infn.it!LORETI
References: <3vn1ht$kj8@martha.utk.edu> <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu> <41iebe$kec@news0.rain.rg.net> <41pm80$skp@inferno.mpx.com.au> <DE02nC.B58@eskimo.com> <41t0sb$15e@news0.rain.rg.net>,<DE6G2z.JJD@crdnns.crd.ge.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c,comp.lang.c
Path: arc1-ca.pugleaf.net!mxsld2.pd.infn.it!LORETI
From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
Subject: Re: GOTO single exit point (was: Re: How to eliminate GOTO?)
X-Nntp-Posting-Host: mxsld2.pd.infn.it
Message-ID: <DE9MEJ.7uG@news.cern.ch>
Sender: news@news.cern.ch (USENET News System)
Reply-To: loreti@mxsld2.pd.infn.it
Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
References: <3vn1ht$kj8@martha.utk.edu> <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu> <41iebe$kec@news0.rain.rg.net> <41pm80$skp@inferno.mpx.com.au> <DE02nC.B58@eskimo.com> <41t0sb$15e@news0.rain.rg.net>,<DE6G2z.JJD@crdnns.crd.ge.com>
Date: Sat, 2 Sep 1995 07:37:29 GMT