Rebol Programming/get

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

GET word /any 

DESCRIPTION:[edit | edit source]

Gets the value of a word or values of an object.

GET is a native value.

ARGUMENTS[edit | edit source]

  • word -- Word to get (Type: any-word object none)

REFINEMENTS[edit | edit source]

  • /any -- Allows any type of value, even unset.

SOURCE CODE[edit | edit source]

get: native[
    "Gets the value of a word or values of an object." 
    word [any-word! object! none!] "Word to get" 
    /any "Allows any type of value, even unset."
]