Protect

angerangel edited this page Jan 7, 2013 · 1 revision

USAGE

   PROTECT value /deep /words /values /hide

DESCRIPTION

Protect a series or a variable from being modified.

PROTECT is a native value.

ARGUMENTS

  • value (word! series! bitset! map! object! module!)

REFINEMENTS

  • /deep -- Protect all sub-series/objects as well
  • /words -- Process list as words (and path words)
  • /values -- Process list of values (implied GET)
  • /hide -- Hide variables (avoid binding and lookup)

#SOURCE

protect: make native! [  [
    {Protect a series or a variable from being modified.}
    value [word! series! bitset! map! object! module!]
    /deep "Protect all sub-series/objects as well"
    /words "Process list as words (and path words)"
    /values "Process list of values (implied GET)"
    /hide "Hide variables (avoid binding and lookup)"
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.