try?

perform action, catch possible errors and return status


Parameters

try? action :block :bytecode

Attributes

verboseprint all error messages as usual

Returns

  • :logical

Examples

copy
try? [ ; let's try something dangerous print 10 / 0 ] else [ print "something went terribly wrong..." ] ; something went terribly wrong...

Related