1 | last, next and redo allow one simple ways to alter execution flow in loops |
2 |
while (something is tested) {
|
3 | } |
4 | # last jumps to here |
5 | These commands control innermost enclosing for foreach or while loop |
6 | last jumps out of loop |
7 | next jumps over rest of loop |
8 | redo jumps back to start of loop |