REBOL Programming/context

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

USAGE:[edit]

CONTEXT blk 

DESCRIPTION:[edit]

Defines a unique (underived) object.

CONTEXT is a function value.

ARGUMENTS[edit]

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

SOURCE CODE[edit]

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