Mathematica 9 is now available

Throw (modified)Symbol (modified)

Catch

FilledSmallSquareCatch[expr] returns the argument of the first Throw generated in the evaluation of expr.

FilledSmallSquareCatch[expr, form] returns value from the first Throw[value, tag] for which form matches tag.

FilledSmallSquareCatch[expr, form, f] returns f[value, tag].

FilledSmallSquareCatch[expr, ... ] always returns the value of expr if no Throw was generated during the evaluation.

FilledSmallSquareform can be any expression, and is often a pattern.

FilledSmallSquaretag in Throw[value, tag] is re-evaluated every time it is compared to form.

FilledSmallSquare See The Mathematica Book: Section 2.5.9.

FilledSmallSquare See also: Check, CheckAbort.

Further Examples

Throw (modified)Symbol (modified)



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.