Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site hadron.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.lang.c Subject: Re: break, continue, return, goto Message-ID: <73@hadron.UUCP> Date: Sat, 16-Nov-85 15:23:41 EST Article-I.D.: hadron.73 Posted: Sat Nov 16 15:23:41 1985 Date-Received: Mon, 18-Nov-85 07:55:52 EST References: <771@whuxl.UUCP> <9500029@iuvax.UUCP> <806@whuxl.UUCP> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 15 Keywords: For Fortran-lovers only; the rest of us will meet at the bar. Summary: If you really WANT a counter-only for, then ... In article <806@whuxl.UUCP> mike@whuxl.UUCP (BALDWIN) writes: >> In addition, I recommend the use of for loop be restricted to >> its original meaning in natural language, i.e. as a loop with simple >> counter. [Note ">>": second attribution was missing.] #define dofor(var,init,lim,incr) \ for (var = init; var < lim; lim += incr) #define dofor1(var,init,lim) for(var = init; var < lim; var++) etc. Just don't present me with any code using these macros. Now can we discuss something real? -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP}