Amelia -

are you using the windowed J session?  That is, are you running "j.exe"?
If so, you should note that Dan's solution is to have you used a
character-based
flavor of J, "jconsole.exe", in order to more easily handle simple,
character-based
prompts and inputs.

To run in the windowed environment, it would be more natural to use a GUI
interface for user input and output.  Personally, I like the simplicity of
the approach
based on character input and output.  However, people often expect a
GUI-based
interface.

If you're interested, I've posted a (fairly) simple example of opening a
window to
query for a source and destination directory and wait for the user to finish
inputting
them.  It's on the J wiki at
http://www.jsoftware.com/jwiki/Scripts/SourceDestDir .

Good luck!

--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to