forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Resolve
angerangel edited this page Mar 19, 2013
·
1 revision
RESOLVE target source /only from /all /extend
Copy context by setting values in the target from those in the source.
RESOLVE is a native value.
- target -- (modified) (any-object!)
- source (any-object!)
-
/only
- from -- Only specific words (exports) or new words in target (index to tail) (block! integer!)
- /all -- Set all words, even those in the target that already have a value
- /extend -- Add source words to the target if necessary
#SOURCE
resolve: make native! [ [
{Copy context by setting values in the target from those in the source.}
target [any-object!] "(modified)"
source [any-object!]
/only from [block! integer!] {Only specific words (exports) or new words in target (index to tail)}
/all {Set all words, even those in the target that already have a value}
/extend "Add source words to the target if necessary"
] ]