$Canceled

$Canceled

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

Examples

Basic Examples  (1)

Display a dialog window with a cancel button:

In[1]:=
Click for copyable input

When the button is clicked, the value $Canceled is returned as the value of the DialogInput:

In[2]:=
Click for copyable input
Out[2]=

See Also

$Aborted  Null  CancelButton  DefaultButton

Introduced in 2007
(6.0)