forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
angerangel edited this page Mar 19, 2013
·
1 revision
SET word value /any /pad
Sets a word, path, block of words, or object to specified value(s).
SET is a native value.
- word -- Word, block of words, path, or object to be set (modified) (any-word! any-path! block! object!)
- value -- Value or block of values (any-type!)
- /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 (modified)}
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}
] ]