Amelia,

If you want to use the session manager (j.exe, the GUI J window) as an 
interactive shell, you can do that too.  Change the last line of the script from

    query r_plx ''

to

    query r_pl  ''

(that is, remove the x).  Then, in the session manager (not cmd.exe) type this:

    load '~temp\interactive.ijs'

and you'll see the familiar:

    Welcome to psycho therapy!

prompt.

Using the session manager as a user-shell like this is not recommended and has 
some suprising and non-neglibile limitations.  I won't detail them now, but as 
long as you keep your logic simple, and leave  query r_pl ''  as the last line 
of your script, you should be OK.

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

Reply via email to