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

Documentation / Mathematica / Built-in Functions / Programming / Flow Control /


FilledSmallSquare Check[expr, failexpr] evaluates expr, and returns the result, unless messages were generated, in which case it evaluates and returns failexpr.

FilledSmallSquare Check[expr, failexpr, ::, ::, ... ] checks only for the specified messages.

FilledSmallSquare Check has attribute HoldAll.

FilledSmallSquare Check tests only for messages that are actually output. It does not test for messages that have been suppressed using Off.

FilledSmallSquare See Section 2.9.21.

FilledSmallSquare See also: MessageList, $MessageList, Message, Indeterminate, TimeConstrained, CheckAbort.

FilledSmallSquare New in Version 1.

Further Examples