Unprotect

Unprotect[s1,s2,]
removes the attribute Protected for the symbols .

Unprotect["form1","form2",]
unprotects all symbols whose names textually match any of the .

DetailsDetails

  • A typical sequence in adding your own rules for builtin functions is Unprotect[f];definition;Protect[f].

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Default behavior:

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

Unprotect and modify the definition:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input

New behavior:

In[5]:=
Click for copyable input
Out[5]=
Introduced in 1988
(1.0)
Translate this page: