I'm afraid that I'm not just trying to clear the historical text
record away. I want to get rid of the consequences of executing those
statements. Sort of a )clear.
Does this mean that J cannot run silently, ie without a session window?
Mike Powell wrote:
I'm learning J and find it helpful to work with 3 windows open
together.
I have the 1.ijx window, a .ijs script I'm working on and the Help
window in Safari (the Apple browser). As I write in the .ijs window, I
usually save and then switch to the .ijx window where I load and play
around with my coding efforts. After a while doing this the .ijx can
become quite messy. There comes a time when I seek the easy way out
and
go to close the .ijx window. On the Mac, the usual behaviour is that
pressing the red button at top-left closes the window, but leaves the
application running. To my disappointment, pressing red gets me the
"Do
I want to close" prompt. If I select that, the entire J application
closes down. Why can't I close the .ijx session without quitting the J
application? Which menu option gets me a new .ijx session?
The J session requires an ijx window, so closing that window is
equivalent to closing J.
You can always highlight the ijx window and delete everything.
Alternatively, put a definition like the following in your startup
script, and then assign it to a function key:
clearijx=: 3 : 0
smselact_jijs_''
smwrite_jijs_''
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm