Protect

Protect[s1,s2,]
sets the attribute Protected for the symbols .

Protect["form1","form2",]
protects all symbols whose names match any of the string patterns .

DetailsDetails

  • 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.
Introduced in 1988
(1.0)