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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3323ee59cb66d2b6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: do while loop help ( newbie) References: <1139094979.043765.42770@g14g2000cwa.googlegroups.com> <1139114348.153402.214530@g14g2000cwa.googlegroups.com> <2XuFf.5355$5E3.3412@newsread1.news.pas.earthlink.net> In-Reply-To: <2XuFf.5355$5E3.3412@newsread1.news.pas.earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Date: Mon, 06 Feb 2006 01:01:08 GMT NNTP-Posting-Host: 83.250.94.67 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1139187668 83.250.94.67 (Mon, 06 Feb 2006 02:01:08 CET) NNTP-Posting-Date: Mon, 06 Feb 2006 02:01:08 CET Organization: Telia Internet Xref: g2news1.google.com comp.lang.ada:2787 Date: 2006-02-06T01:01:08+00:00 List-Id: Jeffrey R. Carter wrote: > Bj�rn Persson wrote: >> None of those are as clean as a loop-and-a-half with "exit when". >> What's wrong with "exit when"? > > It's not even a loop and a half. It's a full loop with the test at the end. Not at all. Sure, the test is very close to the end; there's just one assignment after it, but that's what makes all the difference. -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu