DialogProlog

DialogProlog

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

Details

  • 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.

Examples

Basic Examples  (1)

Enter a dialog, first printing out the stack:

Return from the dialog:

Wolfram Research (1991), DialogProlog, Wolfram Language function, https://reference.wolfram.com/language/ref/DialogProlog.html.

Text

Wolfram Research (1991), DialogProlog, Wolfram Language function, https://reference.wolfram.com/language/ref/DialogProlog.html.

CMS

Wolfram Language. 1991. "DialogProlog." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DialogProlog.html.

APA

Wolfram Language. (1991). DialogProlog. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DialogProlog.html

BibTeX

@misc{reference.wolfram_2024_dialogprolog, author="Wolfram Research", title="{DialogProlog}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/DialogProlog.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_dialogprolog, organization={Wolfram Research}, title={DialogProlog}, year={1991}, url={https://reference.wolfram.com/language/ref/DialogProlog.html}, note=[Accessed: 21-November-2024 ]}