??? 11/02/10 17:14 Read: times |
#179443 - Bad While Responding to: ???'s previous message |
Using the keyword while in the manner as shown here:
While (set==5); { // some code // more code // etc etc } ...looks very questionable. First off the capital letter on the front makes this not be the C keyword while. Secondly the semicolon after the while condition means that the following code block is not the body of the while block. The semicolon after at the end of that line makes the while an independant unit that is separate from the following code block!!! Michael Karas |
Topic | Author | Date |
error | 01/01/70 00:00 | |
What errors, exactly? | 01/01/70 00:00 | |
Definitely borked while statements there | 01/01/70 00:00 | |
It's been said before | 01/01/70 00:00 | |
Bad While | 01/01/70 00:00 |