< Rebol Programming

USAGE:

TO-CLOSURE value 

DESCRIPTION:

Converts to closure! value.

TO-CLOSURE is a function value.

ARGUMENTS

  • value -- (Type: block)

SOURCE CODE

to-closure: func ["Converts to closure! value." value [block!]][
    closure pick value 1 pick value 2
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.