This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Built-in Mathematica Symbol|See Also »

$Canceled

$Canceled
is a symbol returned when notebook input is canceled, for example from a dialog box.
Display a dialog window with a cancel button:
When the button is clicked, the value $Canceled is returned as the value of the DialogInput:
Display a dialog window with a cancel button:
When the button is clicked, the value $Canceled is returned as the value of the DialogInput:
In[2]:=
Click for copyable input
Out[2]=
New in 6