I have uses for a conjunction u (6!:4) n defined as 'execute u, but give a timeout error if execution lasts more than n seconds'.

I can see 2 uses: first, my immediate need, where I want to run lint on a program that has a long-running sequence. I would like to halt execution of any verb that takes more than 0.5 seconds.

Second, in any interactive system it might be desirable to halt a process that takes too long.

This would be fairly easy to implement, I expect, and I'd try it if Jsoftware would solve the problem of how to make official changes.

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

Reply via email to