Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Tutorial  >  breakstatement
break statement

Purpose of this chapter.

We will learn about the break statement.

The forced end of the loop statement.

A break statement forcibly ends the nearest loop statement that surrounds it. The execution control will jump to the next statement of its loop statement.

A break statement is the following format.


break ;

Loop statements are the while statement, the each statement, and the fromto statement.

break keyword

The 'break' keyword indicates that this statement is a break statement.

The end of the break statement.

The end of the break statement is represented by a semicolon.

Next
Previous
Copyright © Rice All rights reserved.