??? 05/28/12 23:57 Read: times |
#187569 - Breaks. Responding to: ???'s previous message |
Justin Fontes said:
There is no way a break can be used after an if statement. A break only applies to a loop. This is just plain incorrect. Breaks are applicable to causing code execution in an iteration loop or switch statement to stop and burst out to the next outer code level. However, and this is where you are so wrong, the break statement can be used in conjunction with an if statement. As a matter of fact the if statement is the most often used method inside of a loop structure to qualify that a break path in the code should be taken!!! Michael Karas |