Sorry, I don't see how immex helps me detect jbreak...? Though once detected, it'll probably be the way I turn off the timer.
But you've given me an idea -- have my duty-cycle (timer-controlled) inspect the break file (9!:46) and halt if it's been touched. But it's all extra overhead for the duty-cycle. I'd rather have yellow-J trigger a callback, if that's possible, than have to keep polling 9!:46. I do wonder though why 9!:46 has been provided, if it isn't to let the J coder do some housekeeping on jbreak? On Sat, Apr 9, 2011 at 3:47 PM, Raul Miller <[email protected]> wrote: > On Sat, Apr 9, 2011 at 8:47 AM, Ian Clark <[email protected]> wrote: >> Is there a code hook to enable me to call my own verb (to halt >> systimer) whenever the yellow J (J602break) is clicked? > > I think you could use Immex for that purpose? > > http://www.jsoftware.com/docs/help701/dictionary/dx009.htm > > You would probably either want to cancel it on a normal exit, or > arrange so that your Immex phrase was harmless for that case. > > -- > Raul > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
