Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   TO type spec

DESCRIPTION

Converts to a specified datatype.

TO is an action value.

ARGUMENTS

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

#SOURCE

to: make action! [  [
    "Converts to a specified datatype."
    type [any-type!] "The datatype or example value"
    spec [any-type!] "The attributes of the new value"
] ]

Clone this wiki locally