REBOL Programming/protect

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

USAGE:[edit]

PROTECT value 

DESCRIPTION:[edit]

Protect a word or block to prevent from being modified.

PROTECT is a native value.

ARGUMENTS:[edit]

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

SOURCE CODE[edit]

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