From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,999172cfe4113340 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: How to implement a continue statement in Ada? Date: 2000/02/08 Message-ID: <87q53f$6q6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 583362608 References: <87pgm3$o3p$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Feb 08 22:24:54 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-02-08T00:00:00+00:00 List-Id: In article <87pgm3$o3p$1@nnrp1.deja.com>, Oliver Kellogg wrote: > In article <6smb7v$j39$1@nnrp1.dejanews.com>, > dennison@telepath.com wrote: > > > I have used Ada for 9 years now, and have yet to tell myself, > > "gee, I really wish I could do a continue". I think this is > > mostly an issue for C converts. > > Then again, I have never needed goto for other than > emulating "continue". So I see this as an exceptional case. > > I hereby cast my vote for introducing the "continue" > keyword in Ada-0x Hmmm. That quote sounded like me, but I don't exactly share that sentiment. A quick deja search shows that I posted that back on September 3, 1998. I realize that at the time no one called me on the statement, but I think the statue of limitations on arguing the point with me has long since passed. :-) For a post of mine on the subject of slightly more recent vintage, try the following, posted less than a month ago under the thread title of "Re: bitwise comparators": > C's continue statement would be helpful often in my Ada code, > but it does make the code tougher to follow. As you can see, my opinion has changed slightly over the intervening 1.4 years. Apparently I've written a lot of loops since then. :-) -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.