Reverse

angerangel edited this page Jan 7, 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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.