Rebol Programming/context

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

USAGE:[edit | edit source]

CONTEXT blk 

DESCRIPTION:[edit | edit source]

Defines a unique (underived) object.

CONTEXT is a function value.

ARGUMENTS[edit | edit source]

  • blk -- Object variables and values. (Type: block)

SOURCE CODE[edit | edit source]

context: func [
    "Defines a unique (underived) object." 
    blk [block!] "Object variables and values."
][
    make object! blk
]