First page Back Continue Last page Graphics
The break and continue statements (Pages 919 – 920)
break exits from the current loop by executing the statement after the done. That is, it leaves from the bottom of the loop.
break
continue send control to the command after the do statement. That is, it returns to the top of the loop.
continue
Both have an optional number. When it's supplied, break breaks out of that many nested loops. continue returns to the top of the nth loop back.
These are quite dangerous. Use with extreme caution. Better, don't use them!
break number
continue number