Jump to content

Rebol Programming/reverse

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
REVERSE value /part range 

DESCRIPTION:

[edit | edit source]

Reverses a series.

REVERSE is a native value.

ARGUMENTS

[edit | edit source]
  • value -- (Type: series tuple pair)

REFINEMENTS

[edit | edit source]
  • /part -- Limits to a given length or position.
    • range -- (Type: integer series)

SOURCE CODE

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