This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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)