26 Aug
2010
26 Aug
'10
6:49 p.m.
On Aug 26, 2010, at 11:35 AM, Chris Fleizach wrote:
for (...; ...; ...) { }
This seems OK.
for (...; ...; ...) { }
The above is definitely not allowed, because braces go on the line with the "for". The other possibilities are: C) for (...) ; D) for (...) { } E) for (...) { // intentionally-empty loop body. } I would probably use (C) in code I was writing. This doesn’t come up much. -- Darin