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

Interrupt

Interrupt
generates an interrupt.
  • You can call Interrupt anywhere within a computation. It has the same effect as an interactive interrupt at that point.
Interrupt a computation, bringing up a dialog box. The result here is from choosing to abort:
A computation where a dialog box is brought up for every second of time taken:
Interrupt a computation, bringing up a dialog box. The result here is from choosing to abort:
In[1]:=
Click for copyable input
Out[1]=
 
A computation where a dialog box is brought up for every second of time taken:
In[1]:=
Click for copyable input
Out[1]=
New in 2