< Rebol Programming
USAGE:
TO type spec
DESCRIPTION:
Constructs and returns a new value after conversion.
TO is an action value.
ARGUMENTS
- type -- The datatype or example value. (Type: any-type)
- spec -- The attributes of the new value. (Type: any-type)
SOURCE CODE
to: native[
{Constructs and returns a new value after conversion.}
type [any-type!] "The datatype or example value."
spec [any-type!] "The attributes of the new value."
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.