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=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: Roger@natron.demon.co.uk (Roger Barnett) Subject: Re: How to implement a continue statement in Ada? Date: 2000/02/09 Message-ID: <748783654wnr@natron.demon.co.uk>#1/1 X-Deja-AN: 583606775 X-Mail2News-Path: news.demon.net!finch-post-10.mail.demon.net!natron.demon.co.uk References: <87pgm3$o3p$1@nnrp1.deja.com> <87q53f$6q6$1@nnrp1.deja.com> X-Trace: mail2news.demon.co.uk 950093514 mail2news:17110 mail2news mail2news.demon.co.uk Organization: Natron Software Maintenance Ltd Reply-To: Roger@natron.demon.co.uk Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 2000-02-09T00:00:00+00:00 List-Id: In article: <87q53f$6q6$1@nnrp1.deja.com> Ted Dennison writes: > > 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. I've always thought that the C continue statement provides all the problems of 'goto' but without the clarity ('break' is almost as bad). Perhaps if an Ada equivalent required the use of a labelled loop construct to make it explicit what was being continued ? -- Roger Barnett