REBOL Programming/quote

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

QUOTE :value 

DESCRIPTION:[edit]

Returns the value passed to it without evaluation.

QUOTE is a function value.

ARGUMENTS:[edit]

  • value -- (Type: any-type)

SOURCE CODE[edit]

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