Rebol Programming/make

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

USAGE:[edit | edit source]

MAKE type spec 

DESCRIPTION:[edit | edit source]

Constructs and returns a new value.

MAKE is an action value.

ARGUMENTS:[edit | edit source]

  • type -- The datatype or example value. (Type: any-type)
  • spec -- The attributes of the new value. (Type: any-type)

SOURCE CODE[edit | edit source]

make: native[
    "Constructs and returns a new value." 
    type [any-type!] "The datatype or example value." 
    spec [any-type!] "The attributes of the new value."
]