Exits (terminates) a loop. Valid only inside a loop.
Break |
Parameters
None.
Remarks
The break command applies to the innermost loop in which it is enclosed. The use of break and continue are encouraged over goto since they usually make scripts more readable and maintainable.
Related
Example
loop { ... if var > 25 break ... if var <= 5 continue }