Amelia,
I suspect you typed this into J (or jconsole) itself:
> jconsole ~temp\interactive.ijs
> |spelling error
> | jconsole ~temp\interactive.ijs
> | ^
That was not what I intended you do. I wanted you to type that into a command
prompt. Go to Start>Run and type cmd then press the OK button.
In that command prompt window, type the following:
cd x:\path\to\j\root
where x:\path\to\j\root is the absolute path to your J installation (which is
c:\j601 by default).
The next line you should type into the command prompt window is:
jconsole ~temp\interactive.ijs
then, your interactive J program has control of the input/output of the command
prompt window. It'll first print
Welcome to psychotherapy!
then you should type a reponse. It'll type back
Why do you say "%s%"?
until you type
quit
to which it'll respond
bye!
and exit. Then input/output control is transferred back to the cmd process
(the window command interpreter).
See this screenshot for a concrete example: http://bron.us/interactive-j.png
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm