DOCUMENTATION CENTER SEARCH
Mathematica
>
Flow Control
>
Built-in
Mathematica
Symbol
Interrupts and Aborts
Tutorials »
|
Abort
TimeConstrained
MemoryConstrained
Throw
$Inspector
LinkInterrupt
$Aborted
See Also »
|
Flow Control
Looping Constructs
More About »
Interrupt
Interrupt
[]
generates an interrupt.
MORE INFORMATION
You can call
Interrupt
anywhere within a computation. It has the same effect as an interactive interrupt at that point.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Interrupt a computation, bringing up a dialog box. The result here is from choosing to abort:
In[1]:=
Out[1]=
A computation where a dialog box is brought up for every second of time taken:
In[1]:=
Out[1]=
SEE ALSO
Abort
TimeConstrained
MemoryConstrained
Throw
$Inspector
LinkInterrupt
$Aborted
TUTORIALS
Interrupts and Aborts
MORE ABOUT
Flow Control
Looping Constructs
New in 2
© 2008 Wolfram Research, Inc.