REBOL Programming/cp

USAGE:Edit

CP value /part range /deep 

DESCRIPTION:Edit

Returns a copy of a value.

CP is an action value.

ARGUMENTSEdit

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

REFINEMENTSEdit

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

SOURCE CODEEdit

cp: 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."
]

{{BookCat}}
Last modified on 27 October 2012, at 22:15