Rebol Programming/quote

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

USAGE:[edit | edit source]

QUOTE :value 

DESCRIPTION:[edit | edit source]

Returns the value passed to it without evaluation.

QUOTE is a function value.

ARGUMENTS:[edit | edit source]

  • value -- (Type: any-type)

SOURCE CODE[edit | edit source]

quote: func [
    "Returns the value passed to it without evaluation." 
    :value [any-type!]
][
    return get/any 'value
]