3 ms·
Several languages support labels with "break" and "continue". It's mostly useful to break out several layers at once (nested loops, etc). See for example Java:
by 0x0 13y ago
Several languages support labels with "break" and "continue". It's mostly useful to break out several layers at once (nested loops, etc).
See for example Java: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/branch.html http://docs.oracle.com/javase/tutorial/java/nutsandbolts/bra...