Note: information on this page refers to Ceylon 1.0, not to the current release.
break statement is a control directive that causes immediately
termination of a
The general form of the
break statement is
// ...within a while or for statement // and often guarded by some condition break;
while statement the
break directive can be used to exit
the block early without waiting for the
for iterator to be exhausted or the
while condition to become
- Java's 'labelled'
breakdirective is not supported. The
breakdirective operates on the directly enclosing