I would suggest that wdhandler_debug not be put in the z locale. Put it in the locale of the form you are debugging. That way it does not affect other forms. It only affects the forms in that locale.

Oleg Kobchenko wrote:

For example,

 wdhandler_debug_z_=: 3 : 'smoutput <@({.~40<.#)@:>"1|: wdq'
 ...
 erase'wdhandler_debug_z_'

--- Don Guinn <[EMAIL PROTECTED]> wrote:

If you look at the supplied wdhandler you will see that it looks for the verb wdhandler_debug. If it exists it executes it. Makes a nice debugging tool which is easy to add and remove as needed.

Henry Rich wrote:

I typed in

 t =: 3 : 0
5
)

but look at what was in t:

 t
wdhandler ''
5
wdhandler ''
)

Obviously the m : 0 handler is treating the event-generated
sentence as if it came from the keyboard.

J6.01c

Henry Rich

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to