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

  • Protect[ , , ... ] sets the attribute Protected for the symbols .
  • Protect[" ", " ", ... ] protects all symbols whose names match any of the string patterns .
  • Protect[" form "] allows metacharacters such as *, as specified in Section A.3.13.
  • Protect[" context `*"] protects all symbols in a particular context.
  • See the Mathematica book: Section 2.4.12Section A.3.12.
  • See also: Unprotect.

    Further Examples

    See the Further Examples for Unprotect.


    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.