Rebol Programming/copy

USAGE:

edit
COPY value /part range /deep 

DESCRIPTION:

edit

Returns a copy of a value.

COPY is an action value.

ARGUMENTS

edit
  • value -- Usually a series (Type: series port bitset)

REFINEMENTS

edit
  • /part -- Limits to a given length or position.
    • range -- (Type: number series port pair)
  • /deep -- Also copies series values within the block.

SOURCE CODE

edit
copy: native[
    "Returns a copy of a value." 
    value [series! port! bitset!] "Usually a series" 
    /part "Limits to a given length or position." 
    range [number! series! port! pair!] 
    /deep "Also copies series values within the block."
]