You can enclose the body of the verb in a try. block, and redefine the
verb to ] in the catch. .
Henry Rich
On 12/21/2019 1:11 PM, Michal Wallace wrote:
Here's a little jqt program with a bug in it.
When I accidentally run something like this, I get a modal dialog with an
error message.
Closing the message box triggers the error again.
Once that happens, the only way I know to recover is kill my whole J
session.
Is there a better way? If not, could we maybe add a button to these
messages that would destroy the offending window?
wd 'pc win0 closeok; pn "debug me"'
wd 'cc img isigraph'
wd 'pshow'
win0_img_paint =: verb define
this is a bug
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm