angerangel edited this page Jan 7, 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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.