REBOL Programming/reverse

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

USAGE:[edit]

REVERSE value /part range 

DESCRIPTION:[edit]

Reverses a series.

REVERSE is a native value.

ARGUMENTS[edit]

  • value -- (Type: series tuple pair)

REFINEMENTS[edit]

  • /part -- Limits to a given length or position.
    • range -- (Type: integer series)

SOURCE CODE[edit]

reverse: native[
    "Reverses a series." 
    value [series! tuple! pair!] 
    /part "Limits to a given length or position." 
    range [integer! series!]
]