I think that this is not possible for that running J instance alone. The reason is J is single thread so that while running the looping code, it can not process gui messages. Or you may test for a certain file periodically. If that file is deleted, then exit the loop.

David Porter wrote:
I have a loop that processes around a hundred files. Once started, it must continue or, you must stop it using one of several ugly methods from the operating system.

I put in the break. control word that looks at a variable to enable a way to break out of the loop. I thought setting that variable with a button on the form would be a good idea, but all I get when I try this while the loop is running is the Windows "boink" . Is there a good, or any, way to set this variable while the loop is running?

Dave Porter
----------------------------------------------------------------------
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