Rebol Programming/try

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

TRY block 

DESCRIPTION:[edit | edit source]

Tries to DO a block and returns its value or an error.

TRY is a native value.

ARGUMENTS[edit | edit source]

  • block -- (Type: block)

SOURCE CODE[edit | edit source]

try: native[
    {Tries to DO a block and returns its value or an error.} 
    block [block!]
]