This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
BUILT-IN MATHEMATICA SYMBOLTutorials »|See Also »

DialogSymbols

DialogSymbols
is an option for Dialog which gives a list of symbols whose values should be localized in the dialog.
  • specifies that x, y, ... should have local values for the duration of the dialog.
  • defines initial values for variables.
  • The DialogSymbols option sets up local values in a dialog in the same way that a Block enclosing the dialog would.
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:
Start a dialog with x, a and b localized:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
(Dialog) Out[2]=
In[3]:=
Click for copyable input
(Dialog) Out[3]=
In[4]:=
Click for copyable input
The values x, a and b are not defined outside the dialog since they were localized:
In[5]:=
Click for copyable input
Out[5]=
New in 2