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: Oliver Kellogg Subject: Re: How to implement a continue statement in Ada? Date: 2000/02/14 Message-ID: <889g4s$s4v$1@nnrp1.deja.com>#1/1 X-Deja-AN: 585654674 References: <87pgm3$o3p$1@nnrp1.deja.com> <87pmrq$9ae1@news.cis.okstate.edu> <87s92d$lj1$1@nnrp1.deja.com> X-Http-Proxy: 1.0 sgt2-t3-1.atm-bb.de:3228 (Squid/2.1.PATCH1), 1.0 x43.deja.com:80 (Squid/1.1.22) for client 213.6.199.251, 62.104.220.68 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Feb 14 18:05:20 2000 GMT X-MyDeja-Info: XMYDJUIDokellogg Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [de]C-A084 (Win95; I) Date: 2000-02-14T00:00:00+00:00 List-Id: In article <87s92d$lj1$1@nnrp1.deja.com>, Ted Dennison wrote: > Given that such workarounds (hacks) exist, why not put continue > capability in Ada 0X by allowing the "exit" statement to exit > outside of a begin..end block? The fact that you can't do this > is actually a common confusion for newbies anyway. A agree wholeheartedly. This should apply to both the exit and the continue statement. However, I still think adding a "continue" statement to Ada is a good idea. "continue" is complementary to "exit" in nature and the same syntax rules should apply to both. E.g. the continue statement could take an optional loop_designator (just like exit) to make possible continuing to outer loops in the case of nested loops. Oliver M. Kellogg -- okellogg at freenet dot de Sent via Deja.com http://www.deja.com/ Before you buy.