5 ms·
> if !e->inuse but e == ent->client->chase_target, the original will loop but yours will exit. No, the continue statement will jump to the test part also for `
by augustk 3y ago
> if !e->inuse but e == ent->client->chase_target, the original will loop but yours will exit.
No, the continue statement will jump to the test part also for `do' loops:
"The continue statement is related to break, but less often used; it causes
the next iteration of the enclosing for, while, or do loop to begin. In the
while and do, this means that the test part is executed immediately"
-- "The C programming language (Second Edition)"
- _flux 3y agoWell today I have learned something I may have forgotten, thank you :). It seems natural in for and while so it does make sense also the do loops use it.