🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3372

Re: How to eliminate GOTO?

#3372
From: Jerone A. Bowers
Date: Thu, 24 Aug 1995 02:18
26 lines
1181 bytes
halasz@caip.rutgers.edu wrote:
: 
:      iLoop: for(i=0;i<10;i++)
:        for(j=0;j<10;j++){
:          /*  some other code here to set condition */
:          if(condition) break iLoop;
:        } 


  	for(i=0;i<10;i++)
           for(j=0;j<10;j++)
	   {
                   /*  some other code here to set condition */
              if(condition) goto iLoop;
           }
    iLoop:
      .....

Pretty much the same thing are they not?  

-- 
These thoughts are mine and mine alone.    I can say that, right?

EMAIL: jab@bowtech.erinet.com 		|  Tommorow is not to be 
SMAIL  9221 N Main St			|  feared.  It will pass.
Dayton, OH 45415-1126			|
Technical Details
Message-ID: <41gnhu$qfj@eri2.erinet.com>
Path: arc1-ca.pugleaf.net!news.erinet.com!not-for-mail
References: <3vn1ht$kj8@martha.utk.edu> <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.erinet.com!not-for-mail
From: jab@PROBLEM_WITH_YOUR_MAIL_GATEWAY_FILE (Jerone A. Bowers)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: How to eliminate GOTO?
Followup-To: comp.std.c,comp.lang.c
Date: 24 Aug 1995 02:18:38 GMT
Organization: BowTech
Message-ID: <41gnhu$qfj@eri2.erinet.com>
References: <3vn1ht$kj8@martha.utk.edu> <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu>
NNTP-Posting-Host: bowtech.erinet.com
X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]