<SPAN CLASS="TOKEN" >quit</SPAN > statements

Sather - Language Specification
Prev | Chapter 8. Loops and Iterators | Next

# 8.3. quit statements

Example 8-3. Example:

    quit;

    quit_statement ==>
            quit

quit statements are used to terminate loops and may only appear in iterator definitions. No value is returned from an iterator when it quits, and no assignment takes place to out or inout arguments in the caller (See Method call expressions). No statements may follow a quit statement in a statement list.

Prev | Home | Next
yield statements | Up | while! expressions