forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Bind
angerangel edited this page Mar 8, 2013
·
1 revision
BIND word context /copy /only /new /set
Binds words to the specified context.
BIND is a native value.
- word -- A word or block of words (modified) (returned) (block! any-word!)
- context -- A reference to the target context (any-word! any-object!)
- /copy -- Deep copy block before binding it
- /only -- Bind only first block (not deep)
- /new -- Add to context any new words found
- /set -- Add to context any new set-words found
#SOURCE
bind: make native! [ [
"Binds words to the specified context."
word [block! any-word!] "A word or block of words (modified) (returned)"
context [any-word! any-object!] "A reference to the target context"
/copy "Deep copy block before binding it"
/only "Bind only first block (not deep)"
/new "Add to context any new words found"
/set "Add to context any new set-words found"
] ]