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



FilledSmallSquareTimeConstrained[expr, t] evaluates expr, stopping after t seconds.

FilledSmallSquareTimeConstrained[expr, t, failexpr] returns failexpr if the time constraint is not met.

FilledSmallSquareTimeConstrained generates an interrupt to abort the evaluation of expr if the evaluation is not completed within the specified time.

FilledSmallSquareTimeConstrained evaluates failexpr only if the evaluation is aborted.

FilledSmallSquareTimeConstrained returns $Aborted if the evaluation is aborted and no failexpr is specified.

FilledSmallSquareTimeConstrained is accurate only down to a granularity of at least $TimeUnit seconds.

FilledSmallSquare Aborts generated by TimeConstrained are treated just like those generated by Abort, and can thus be overruled by AbortProtect.

FilledSmallSquare See The Mathematica Book: Section 2.13.3.

FilledSmallSquare See also: MemoryConstrained, Timing, $IterationLimit, $RecursionLimit, Pause, Abort, TimeConstraint.

Further Examples