Mathematica 9 is now available

CatchContinue

Break

FilledSmallSquareBreak[ ] exits the nearest enclosing Do, For or While.

FilledSmallSquareBreak[ ] takes effect as soon as it is evaluated, even if it appears inside other functions.

FilledSmallSquare After a Break the value Null is returned from the enclosing control structure.

FilledSmallSquare The function of Break can also be achieved using Throw and Catch.

FilledSmallSquare See The Mathematica Book: Section 2.5.9.

FilledSmallSquare See also: Continue, Return, Goto, Abort.

Further Examples

CatchContinue



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.