REBOL Programming/to-function

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

USAGE:[edit]

TO-FUNCTION value 

DESCRIPTION:[edit]

Converts to function! value.

TO-FUNCTION is a function value.

ARGUMENTS[edit]

  • value -- (Type: block)

SOURCE CODE[edit]

to-function: func ["Converts to function! value." value [block!]][
    make function! pick value 1 pick value 2
]