This is a must-have. Any block of code (anonymous, for, switch, while, case, etc.) can be labeled, and then break <label>; and continue <label>; will specify which block to break or continue. Extremely useful for certain algorithms, and convenient in many other cases.
This is a must-have. Any block of code (anonymous, for, switch, while, case, etc.) can be labeled, and then
break <label>;
andcontinue <label>;
will specify which block to break or continue. Extremely useful for certain algorithms, and convenient in many other cases.