From: utzoo!decvax!ucbvax!G:ARPAVAX:CAD:teklabs!tekmdp!azure!andyc
Newsgroups: net.unix-wizards
Title: C documentation bug?
Article-I.D.: azure.818
Posted: Mon May 10 15:37:47 1982
Received: Tue May 11 04:00:24 1982

In the C Reference Manual at the end of the Ritchie book in section 9.6
Ritchie describes the 'for' statement as being equivalent to the 'while'
statement as follows:

The 'for' statement has the form 
	for (expression-1 ; expression-2 ; expression-3) statement

This statement is equivalent to
	expression-1;
	while (expression-2) {
		statement
		expression-3;
	}

This does not seem to hold when 'statement' is a continue.  In the 
while statement, expression-3 will not get executed.  Am I misunderstanding
something?

			Andy Crump
			Tektronix, Inc
			teklabs!tekmdp!azure!andyc