REBOL Programming/catch

< REBOL Programming

USAGE:

CATCH block /name word 

DESCRIPTION:

Catches a throw from a block and returns its value.

CATCH is a native value.

ARGUMENTS

REFINEMENTS

SOURCE CODE

catch: native[
    {Catches a throw from a block and returns its value.} 
    block [block!] "Block to evaluate" 
    /name "Catches a named throw." 
    word [word! block!] "One or more names"
]

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.