Rebol Programming/construct

USAGE: edit

CONSTRUCT block /with object 

DESCRIPTION: edit

Creates an object, but without evaluating its specification.

CONSTRUCT is a native value.

ARGUMENTS edit

  • block -- Object specification block (Type: block)

REFINEMENTS edit

  • /with -- Provide a default base object
    • object -- (Type: object)

SOURCE CODE edit

construct: native[
    {Creates an object, but without evaluating its specification.} 
    block [block!] "Object specification block" 
    /with "Provide a default base object" object [object!]
]