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

USAGE

   RESOLVE target source /only from /all /extend

DESCRIPTION

Copy context by setting values in the target from those in the source.

RESOLVE is a native value.

ARGUMENTS

  • target -- (modified) (any-object!)
  • source (any-object!)

REFINEMENTS

  • /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"
] ]
Clone this wiki locally