ReadProtected

ReadProtected

is an attribute that prevents values associated with a symbol from being seen.

Details

  • Individual values associated with readprotected symbols can be used during evaluation.
  • Definition[f], ?f, and related functions give only the attributes for readprotected symbols f.

Examples

open allclose all

Basic Examples  (2)

Properties & Relations  (2)

Definitions of a read-protected symbol are not shown:

As long as the symbol is not locked, the read protection can be removed:

If a symbol is locked and protected, its definitions can be neither changed nor read:

Introduced in 1988
 (1.0)