forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Copy
angerangel edited this page Mar 15, 2013
·
1 revision
COPY value /part length /deep /types kinds
Copies a series, object, or other value.
COPY is an action value.
- value -- At position (series! port! map! object! bitset! any-function!)
-
/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!]
] ]