Last modified on 13 November 2012, at 10:47

REBOL Programming/throw

USAGE:Edit

THROW value /name word 

DESCRIPTION:Edit

Throws control back to a previous catch.

THROW is a native value.

ARGUMENTSEdit

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

REFINEMENTSEdit

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

SOURCE CODEEdit

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