TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Bo Simonsen
date: 2004-05-06 17:29:52
subject: Merits

BB>  >    Just as a programmer will tend to understand either
BB>  > WHILE or UNTIL
BB> 
BB>     UNTIL is not a keyword in C, but I agree with the sentiment. I really
BB> couldn't follow all you were saying, John. The functions lenstr() and
BB> output() were written only to show the difference between while(*s++){};
BB> and while(*s) {...;++s;};. Believe me, these differences were not obvious
BB> to everybody. You will have to take it up with Darin for anything else.

loop ... until somecondition;

do
{

} while(!somecondition);

should be the same as far as I can see..

Bo

--- AlphaEd/Linux 0.01
* Origin: The Night Express - Roennede, Dk (2:236/100.0)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.