Rebol Programming/protect

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

PROTECT value 

DESCRIPTION:[edit | edit source]

Protect a word or block to prevent from being modified.

PROTECT is a native value.

ARGUMENTS:[edit | edit source]

  • value -- The word or block of words to be protected (Type: word block)

SOURCE CODE[edit | edit source]

protect: native[
    {Protect a word or block to prevent from being modified.} 
    value [word! block!] "The word or block of words to be protected"
]