I guess so. However, a good use for a global trap is, for example, to capture all relevant information from an unanticipated error of an application "in the field" so that the error can be reproduced.
I haven't used the 13!: family enough to know how feasible this is in J. Can I turn on the debugger within my code? I usually do it manually in a graphic-enabled session. On 3/12/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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 <[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 > ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ---------------------------------------------------------------------- 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
