Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Function break

break [object]

Ends the looping of the flux control functions.

Parameters:
object - The object to be returned by the flux control function that got interrupted.

Invoking break inside the body of a while or foreach makes those functions return.

If the break function is called outside the body of a while or foreach then the currenly executing function terminates and returns the object that was passed to break or null if break was invoked without arguments.


Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002