411 REFERENCE · Wikibooks
Rebol Programming/set
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
SET word value /any /pad
DESCRIPTION:
Sets a word, block of words, or object to specified value(s).
SET is a native value.
ARGUMENTS
word -- Word or words to set (Type: any-word block object)
value -- Value or block of values (Type: any-type)
REFINEMENTS
/any -- Allows setting words to any value.
/pad -- For objects, if block is too short, remaining words are set to NONE.
SOURCE CODE
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.}
]