This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)



FilledSmallSquareDialog[ ] initiates a dialog.

FilledSmallSquareDialog[expr] initiates a dialog with expr as the current value of %.

FilledSmallSquareDialog creates a dialog which consists of a sequence of input and output lines.

FilledSmallSquare You can exit a dialog using Return.

FilledSmallSquare With the global setting $IgnoreEOF = False, you can also exit a dialog by entering an end-of-file character.

FilledSmallSquare If you exit with Return[expr], then expr is the value returned by the Dialog function. Otherwise, the value returned is the expression on the last output line in the dialog.

FilledSmallSquareDialog automatically localizes the values of $Line, $MessageList and $Epilog.

FilledSmallSquareDialog initially sets the local value of $Line to be equal to its global value. This means that the numbering of input and output lines in the dialog follows the sequence outside the dialog. When the dialog is exited, however, the numbering reverts to the sequence that would be followed if there had been no dialog.

FilledSmallSquare Any local value assigned to $Epilog is evaluated when the dialog is exited.

FilledSmallSquare The main loop within a dialog uses global variables such as $Pre and $Post.

FilledSmallSquare The option DialogSymbols :> x, y, ... sets up local values for variables within the dialog. DialogSymbols :> x = , ... defines initial values for the variables.

FilledSmallSquare The option DialogProlog :> expr specifies an expression to evaluate before starting the dialog.

FilledSmallSquareDialog first localizes variables, then evaluates any expression specified by DialogProlog, then evaluates any argument you have given for Dialog.

FilledSmallSquare See The Mathematica Book: Section 2.13.2.

FilledSmallSquare See also: TraceDialog, Input, $Inspector, ButtonBox.