1 | One can break out of (nested) for loops in fashion offered by Perl with 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 | } |