Swap

angerangel edited this page Jan 7, 2013 · 1 revision
Clone this wiki locally

USAGE

   SWAP series1 series2

DESCRIPTION

Swaps elements between two series or the same series.

SWAP is an action value.

ARGUMENTS

  • series1 -- At position (modified) (series! gob!)
  • series2 -- At position (modified) (series! gob!)

#SOURCE

swap: make action! [  [
    {Swaps elements between two series or the same series.}
    series1 [series! gob!] "At position (modified)"
    series2 [series! gob!] "At position (modified)"
] ]