< Rebol Programming

USAGE:

BIND words known-word /copy 

DESCRIPTION:

Binds words to a specified context.

BIND is a native value.

ARGUMENTS

  • words -- A block of words or single word. (Type: block any-word)
  • known-word -- A reference to the target context. (Type: any-word object port)

REFINEMENTS

  • /copy -- Deep copies block before binding it.

SOURCE CODE

bind: native[
    "Binds words to a specified context." 
    words [block! any-word!] "A block of words or single word." 
    known-word [any-word! object! port!] "A reference to the target context." 
    /copy "Deep copies block before binding it."
]

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.