try

perform action and catch possible errors


Parameters

try action :block :bytecode

Attributes

verboseprint all error messages as usual

Returns

  • :nothing

Examples

copy
try [ ; let's try something dangerous print 10 / 0 ] ; we catch the exception but do nothing with it

Related