DialogSymbols

DialogSymbols

is an option for Dialog that gives a list of symbols whose values should be localized in the dialog.

Details

  • DialogSymbols:>{x,y,} specifies that x, y, should have local values for the duration of the dialog.
  • DialogSymbols:>{x=x0,} defines initial values for variables.
  • In addition to any symbols you specify, Dialog always uses local values for $Epilog, $Line, and $MessageList.
  • The DialogSymbols option sets up local values in a dialog in the same way that a Block enclosing the dialog would.

Examples

Basic Examples  (1)

Start a dialog with x, a, and b localized:

The values x, a, and b are not defined outside the dialog since they were localized:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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