I would either continue to use the continue statement or use the empty bracket set as the simple semi-colon terminator seems a little ambiguous, at least to me. Seeing as how all three lines of code perform the same function you can do it any which way you want.
Agreed, although I slightly prefer the empty-bracket version--probably just because a professor I liked 12 years ago used it. It's unambiguous even if you are not very familiar with C.
The "continue" version I would not use or recommend. Without the enclosing braces, the semantics might get tricky for the parser. Sounds like that might be the case with Hi-Tech C.
well, I always like only the semicolons, looks really simple!!
who knows, the Hi-tech people might be using 'continue' to improve radability!! but it can be achieved better with a comment! No need for continue there..
Perhaps they use the continue as a means to avoid optimisation simply removing the entire statement.
I have seen things happen with optimisers like that with simple tests. It's always best to make sure the controlling statement uses a variable declared as volatile, especially if it can be changed by external influences, IRQ's for instance.
Oh.. umm.. thanks.. i didn't know that.. I'll try to remember to use 'continue' next time i use a non volatile variable.. If not i'll be wondering why my code is not working as it should. Thanks alot.