home *** CD-ROM | disk | FTP | other *** search
- A break statement lets you end a do, for, while or switch
- statement and exit from it at any point. We have already seen the
- use of break in a switch statement to end a case. In a switch
- body, the break statement ends the processing of the switch body
- and control is transferred to the statement after the switch
- statement.
- In a "do", "for" or "while" loop, the break statement ends the
- loop and moves control to the next statement outside the loop.
-