This is documentation for Mathematica 5, 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

FilledSmallSquare Protect[, , ... ] sets the attribute Protected for the symbols .

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

FilledSmallSquare Protect["form"] allows metacharacters such as *, as specified in Section A.3.13.

FilledSmallSquare Protect["context`*"] protects all symbols in a particular context.

FilledSmallSquare See Section 2.5.12 and Section A.3.12.

FilledSmallSquare See also: Unprotect.

FilledSmallSquare New in Version 1.

Further Examples