This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 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.12,¬†Section A.3.12.
  • See also: Unprotect.

    Further Examples

    See the Further Examples for Unprotect.