Rebol Programming/use

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

USE words body 

DESCRIPTION:[edit | edit source]

Defines words local to a block.

USE is a native value.

ARGUMENTS[edit | edit source]

  • words -- Local word(s) to the block (Type: block word)
  • body -- Block to evaluate (Type: block)

SOURCE CODE[edit | edit source]

use: native[
    "Defines words local to a block." 
    words [block! word!] "Local word(s) to the block" 
    body [block!] "Block to evaluate"