Re: setting up jbreak from 602-d beta (win32).
Can someone tell me if this should work, and if not, what I'm doing
wrong? In jijs.ijs I've added a line to verb JIJS:
menu break "Break" "" "" "" ;
and then, at the end of the script
jijs_break_button =: 3 : 0
wd 'winexec "c:\ProgramFiles\j602\bin\jbreak.bat"'
)
Then, when I click on the new Break item on the menu, a little dos
window appears and disappears, so it looks as though it's running
correctly. But when I try to stop a loop for keyboard input, using
the prompt verb from misc, nothing happens. When I manually run
jbreak.bat from a dos session, then I get a keyboard interrupt in my J session.
So my question is: is this expected? That is, should I be able to set
up a menu item to run the jbreak.bat function so that it will
interrupt keyboard input correctly? And if so, how?
Finally, I've tried repeatedly to assign this to a key sequence eg
F2. In my j session after I've done this, hitting F2 runs the dos
box, as with clicking on the menu item. However, when I exit j and
try to restart it, I get an IDE error (Error and no IDE window for
debugging) and j wont start. If I remove the assignment from SKEYS in
config.ijs, eg
SKEYS=: 0 : 0
break F2
)
j starts up correctly. Any ideas?
Thanks!
------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[EMAIL PROTECTED]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm