For vs while (was Re: Comparing strings...)

Keith Gabryelski ag at cbmvax.commodore.com
Tue Oct 23 03:49:23 AEST 1990


In article <8308 at scolex.sco.COM> seanf (Sean Fagan) writes:
>#define	while(cond)	for(;cond;)
>
>(I'm sitting here trying to think of any case where this will break
>[no pun intended 8-)] something; I can't think of any, offhand.)

	do {
		WHATEVER();
	} while(COND);


Pax, Keith



More information about the Comp.lang.c mailing list