This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Mathematica Sessions  /

  • DialogProlog is an option for Dialog which can give an expression to evaluate before the dialog starts.
  • 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.
  • See the Mathematica book: Section 2.13.2.
  • See also: $Epilog.