Rebol Programming/attempt

= USAGE: = ATTEMPT value

= DESCRIPTION: = Tries to evaluate and returns result or NONE on error.

ATTEMPT is a function value. = ARGUMENTS =
 * value -- (Type: any)

= (SPECIAL ATTRIBUTES) =
 * throw

= SOURCE CODE = attempt: func [ {Tries to evaluate and returns result or NONE on error.} [throw] value ][   unless error? set/any 'value try :value [get/any 'value] ]