angerangel edited this page Jan 7, 2013 · 1 revision

USAGE

   SET word value /any /pad

DESCRIPTION

Sets a word, path, block of words, or object to specified value(s).

SET is a native value.

ARGUMENTS

  • word -- Word, block of words, path, or object to be set (any-word! any-path! block! object!)
  • value -- Value or block of values (any-type!)

REFINEMENTS

  • /any -- Allows setting words to any value, including unset
  • /pad -- For objects, if block is too short, remaining words are set to NONE

#SOURCE

set: make native! [  [
    {Sets a word, path, block of words, or object to specified value(s).}
    word [any-word! any-path! block! object!] "Word, block of words, path, or object to be set"
    value [any-type!] "Value or block of values"
    /any "Allows setting words to any value, including unset"
    /pad {For objects, if block is too short, remaining words are set to NONE}
] ]
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.