Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Flow Control >

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:
New in 2
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team