J should exit when the last sentence runs and there are no windows (visible or not). This works properly for me under 602. I think there may be a bug in this ares in 601. For a 601 workaround you need to find the grid close method and add an explicit 2!:55'' .

----- Original Message ----- From: "Raul Miller" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Friday, July 13, 2007 4:07 PM
Subject: [Jprogramming] close grid event?


I write a simple three line j script (require, open, grid) to extract some
data from a spreadsheet and throw it into a grid.

I decide this is a handy thing, so I wrap it in an os script that
starts up j without its ijx window -- I just get the grid.

Problem: when I close the grid, J keeps running.

How can I make J exit here?

Thanks,

--
Raul
----------------------------------------------------------------------
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