1 | One can break out of an iteration of a (nested) for loops in fashion offered by Perl but with a different syntax |
2 | outer: // label |
3 | for( int j=0; j<10; j++) { /* Note j only defined in for loop */ |
4 |
/* select course j */
|
5 | /* Continue jumps to here to next iteration of loop labelled with outer */ |
6 | } |