BUILT-IN WOLFRAM LANGUAGE SYMBOL

$Canceled

$Canceled
is a symbol returned when notebook input is canceled, for example from a dialog box.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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]=
Introduced in 2007
(6.0)