< Rebol Programming

USAGE:

THROW value /name word 

DESCRIPTION:

Throws control back to a previous catch.

THROW is a native value.

ARGUMENTS

  • value -- Value returned from catch (Type: any-type)

REFINEMENTS

  • /name -- Throws to a named catch.
    • word -- (Type: word)

SOURCE CODE

throw: native[
    "Throws control back to a previous catch." 
    value [any-type!] "Value returned from catch" 
    /name "Throws to a named catch." 
    word [word!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.