PreemptProtect

PreemptProtect[expr]
evaluates expr, without any interruption from preemptive evaluations.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Preemptive evaluations can be executed in the midst of a main loop evaluation:

In[1]:=
Click for copyable input
Out[1]=

Protect the main loop evaluation from being interrupted:

In[3]:=
Click for copyable input
Out[3]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »