Control Statements

Use control statements to terminate or restart both while loops and for loops.

A break statement terminates the innermost loop; a continue statement starts the innermost loop over.

The return statement stops the processing and returns a value. This is most useful in SPLASH functions.

The exit statement stops the processing.