Rebol Programming/throw

USAGE:

edit
THROW value /name word 

DESCRIPTION:

edit

Throws control back to a previous catch.

THROW is a native value.

ARGUMENTS

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

REFINEMENTS

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

SOURCE CODE

edit
throw: native[
    "Throws control back to a previous catch." 
    value [any-type!] "Value returned from catch" 
    /name "Throws to a named catch." 
    word [word!]
]