> What's even better: you can put labels on your nested loops and break out of multiple levels using them. Finally!
This is possible in other languages, too, even if it's a little known fact.
For example in java :
ext: for (int i=0; i<4; i++) { System.out.println("ext "+i); for (int j=0; j<4; j++) { System.out.println(" in "+j); if (j==2) break ext; } }
> What's even better: you can put labels on your nested loops and break out of multiple levels using them. Finally!
This is possible in other languages, too, even if it's a little known fact.
For example in java :