Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Assignments  /
TagUnset

  • f /: lhs =. removes any rules defined for lhs, associated with the symbol f.
  • Rules are removed only when their left-hand side is identical to lhs, and the tests in Condition given on the right-hand side are also identical.
  • See the Mathematica book: Section A.2.7Section A.5.4.
  • See also: Clear, Unset.

    Further Examples

    This defines a rule for numerical values of fff and associates it with fff.

    In[1]:=

    The rule applies.

    In[2]:=

    Out[2]=

    The rule is undone with TagUnset.

    In[3]:=

    The rule no longer applies applies.

    In[4]:=

    Out[4]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.