next up previous contents
Next: Subprograms Up: Control Previous: The for command   Contents

The break and continue commands

These commands can be used within while and for loops; the break command breaks out of the loop and the continue command jumps to the end of the loop and continues with the next iteration.



P.D. Gronbech (IT Staff) 2015-10-02