REBOL Programming/set

USAGE:Edit

SET word value /any /pad 

DESCRIPTION:Edit

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

SET is a native value.

ARGUMENTSEdit

  • word -- Word or words to set (Type: any-word block object)
  • value -- Value or block of values (Type: any-type)

REFINEMENTSEdit

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

SOURCE CODEEdit

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.}
]
Last modified on 13 November 2012, at 10:50