Rebol Programming/set
Appearance
USAGE:
[edit | edit source]SET word value /any /pad
DESCRIPTION:
[edit | edit source]Sets a word, block of words, or object to specified value(s).
SET is a native value.
ARGUMENTS
[edit | edit source]- word -- Word or words to set (Type: any-word block object)
- value -- Value or block of values (Type: any-type)
REFINEMENTS
[edit | edit source]- /any -- Allows setting words to any value.
- /pad -- For objects, if block is too short, remaining words are set to NONE.
SOURCE CODE
[edit | edit source]set: native[ {Sets a word, block of words, or object to specified value(s).} word [any-word! block! object!] "Word or words to set" value [any-type!] "Value or block of values" /any "Allows setting words to any value." /pad {For objects, if block is too short, remaining words are set to NONE.} ]