Loop "Equivalencies"
Henry Spencer
henry at utzoo.UUCP
Thu Nov 21 05:55:48 AEST 1985
> I'd like to point out what I think is a bug in Kernighan & Ritchie.
> ...[equivalence of "for" to "while"]...
> This is not true if "statement" is a block which contains a "continue"
> since, in the first case, "expr3", is executed after the continue but
> is not in the second case.
> ...
> Am I missing something?
Only a more up-to-date C Reference Manual, actually. Yes, this was a bug
in K&R, and it has been corrected in more recent editions of the CRM.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,linus,decvax}!utzoo!henry
More information about the Comp.lang.c
mailing list