:: (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!'"_) ) ''
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
