Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   REVERSE series /part length

DESCRIPTION

Reverses the order of elements; returns at same position.

REVERSE is an action value.

ARGUMENTS

  • series -- At position (modified) (series! gob! tuple! pair!)

REFINEMENTS

  • /part -- Limits to a given length or position
    • length (number! series!)

#SOURCE

reverse: make action! [  [
    {Reverses the order of elements; returns at same position.}
    series [series! gob! tuple! pair!] "At position (modified)"
    /part "Limits to a given length or position"
    length [number! series!]
] ]
Clone this wiki locally