Construct

angerangel edited this page Jan 2, 2013 · 1 revision
Clone this wiki locally

Table of Contents

USAGE

  CONSTRUCT block /with object /only

DESCRIPTION

Creates an object with scant (safe) evaluation. CONSTRUCT is a native value.

ARGUMENTS

  • block -- Specification (block! string! binary!)

REFINEMENTS

  • /with -- Default object
    • object (object!)
  • /only -- Values are kept as-is

SOURCE

construct: make native! [  [
    "Creates an object with scant (safe) evaluation."
    block [block! string! binary!] "Specification"
    /with "Default object" object [object!]
    /only "Values are kept as-is"
] ]