Should be:
causeAnError =: 3 : 0
undefined
)

2009/9/10 Matthew Brand <[email protected]>:
> :: (adverse) catches errors but not throws. Is there a way to catch a
> throw in a tacit expression?
>
> throwAnException =: 3 : 0
> throw.
> )
>
> causeAnErrow =: 3 : 0
> undefined
> )
>
>  (causeAnError :: ('caught you!'"_) ) ''
> caught you!
>
> NB. I want to know what to put in place of :: in order to catch the throw:
>  (throwAnException :: ('caught you!'"_) ) ''
>



-- 
The risk is socialized, the profit is privatized.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to