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

USAGE

   COPY value /part length /deep /types kinds

DESCRIPTION

Copies a series, object, or other value.

COPY is an action value.

ARGUMENTS

  • value -- At position (series! port! map! object! bitset! any-function!)

REFINEMENTS

  • /part -- Limits to a given length or position
    • length (number! series! pair!)
  • /deep -- Also copies series values within the block
  • /types -- What datatypes to copy
    • kinds (typeset! datatype!)

#SOURCE

copy: make action! [  [
    "Copies a series, object, or other value."
    value [series! port! map! object! bitset! any-function!] "At position"
    /part "Limits to a given length or position"
    length [number! series! pair!]
    /deep "Also copies series values within the block"
    /types "What datatypes to copy"
    kinds [typeset! datatype!]
] ]
Clone this wiki locally