...
The same result can be obtained using the for
statement, which is specifically designed to evaluate an expression on each iteration of the loop, just before performing the test in its controlling expression:
Code Block | ||||
---|---|---|---|---|
| ||||
for for (; x; foo(), x = y) { /* ... */ } |
...