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:

Wolfram Research (1988), ReadProtected, Wolfram Language function, https://reference.wolfram.com/language/ref/ReadProtected.html.

Text

Wolfram Research (1988), ReadProtected, Wolfram Language function, https://reference.wolfram.com/language/ref/ReadProtected.html.

CMS

Wolfram Language. 1988. "ReadProtected." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReadProtected.html.

APA

Wolfram Language. (1988). ReadProtected. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReadProtected.html

BibTeX

@misc{reference.wolfram_2024_readprotected, author="Wolfram Research", title="{ReadProtected}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/ReadProtected.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_readprotected, organization={Wolfram Research}, title={ReadProtected}, year={1988}, url={https://reference.wolfram.com/language/ref/ReadProtected.html}, note=[Accessed: 23-November-2024 ]}