comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: do while loop help ( newbie)
Date: Mon, 06 Feb 2006 01:01:08 GMT
Date: 2006-02-06T01:01:08+00:00	[thread overview]
Message-ID: <odxFf.155370$dP1.513500@newsc.telia.net> (raw)
In-Reply-To: <2XuFf.5355$5E3.3412@newsread1.news.pas.earthlink.net>

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



      reply	other threads:[~2006-02-06  1:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-04 23:16 do while loop help ( newbie) isaac2004
2006-02-05  2:01 ` jimmaureenrogers
2006-02-05  8:03   ` Pascal Obry
2006-02-05 12:18   ` Stephen Leake
2006-02-05  2:07 ` Jeffrey R. Carter
     [not found] ` <bjfau11bp7g4b5id8vprbai6bc81qfgr96@4ax.com>
2006-02-05  4:39   ` isaac2004
2006-02-05 21:25     ` Björn Persson
2006-02-05 22:25       ` Jeffrey R. Carter
2006-02-06  1:01         ` Björn Persson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox