I.P. Sharp-style error trapping would be a nice feature.
"Try" and "Catch" work well but you have to anticipate
where you expect to get an error. The old quad-trap mechanism
could provide a nice backstop for unanticipated errors.
On 3/12/07, Dan Bron <[EMAIL PROTECTED]> wrote:
Don Guinn wrote:
>Just noticed a new control in vocab.ijs called "trap.". It's not in the
>dictionary. What is it?
It's also not in the implementation:
3 : 'trap.'
|spelling error
| trap.
| ^
| 3 :'trap.'
so if it's not a typo in vocab.ijs, then it must be planned for a future
intepreter.
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm