The labeled varieties are needed only in situations where you have a nested loop, and need to indicate which of the nested loops you want to break from,or from which of the nested loops you want to continue with the next iteration.
So based on above, in the below code HELO and JILL can be used to break out of which loop?
The use of labels in loops and breaks has the following rules: 1. Any statement can have a label. 2. If a break statement has a label it must be the label of an enclosing statement. 3. If a continue statement has a label it must be the label of an enclosing loop.
[ October 23, 2006: Message edited by: wise owen ]