REBOL Programming/construct

USAGE:Edit

CONSTRUCT block /with object 

DESCRIPTION:Edit

Creates an object, but without evaluating its specification.

CONSTRUCT is a native value.

ARGUMENTSEdit

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

REFINEMENTSEdit

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

SOURCE CODEEdit

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

{{BookCat}}
Last modified on 27 October 2012, at 22:15