Skip to content
angerangel edited this page Mar 20, 2013 · 1 revision

USAGE

   TRY block /except code

DESCRIPTION

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

TRY is a native value.

ARGUMENTS

  • block (block!)

REFINEMENTS

  • /except -- On exception, evaluate this code block
    • code (block! any-function!)

#SOURCE

try: make native! [  [
    {Tries to DO a block and returns its value or an error.}
    block [block!]
    /except "On exception, evaluate this code block"
    code [block! any-function!]
] ]

Clone this wiki locally