This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Protect[s1, s2, ...]
sets the attribute Protected for the symbols si.
Protect["form1", "form2", ...]
protects all symbols whose names match any of the string patterns formi.
  • Protect allows abbreviated string patterns containing the following metacharacters:
*zero or more characters
@one or more characters, excluding uppercase letters
\\*, etc.literal *, etc.
  • Protect["context`*"] protects all symbols in a particular context.
Define and protect a function:
Click for copyable input
The function definition can no longer be changed:
Click for copyable input
New in 1