BUILT-IN WOLFRAM LANGUAGE SYMBOL

DialogProlog

DialogProlog
is an option for Dialog that can give an expression to evaluate before the dialog starts.

DetailsDetails

  • You must use a delayed rule of the form DialogProlog:>expr to prevent expr from evaluating prematurely.
  • Expressions given by DialogProlog are evaluated after symbol values are localized and before any expression given as the argument of Dialog is evaluated.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Enter a dialog, first printing out the stack:

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

Return from the dialog:

In[2]:=
Click for copyable input
Introduced in 1991
(2.0)