[Jprogramming] Re: What is "trap."?
Oleg Kobchenko
olegykj at yahoo.com
Tue Mar 13 04:37:16 HKT 2007
Isn't that how the debugger works: once set it
pop-up on error anywhere. And you can similarly
set up your own trap.
--- Devon McCormick <devonmcc at gmail.com> wrote:
> 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 <jf at dbron.net> 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
>
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
More information about the Programming
mailing list