Gosi wrote:
> I am proposing that J has an exit function not just jconsole

By "J" you mean j.exe or jwdp?  Those are GUI apps, and return codes are used 
in (automated, non-interactive, non-GUI) batch applications.  So I don't 
believe there's a convention (in Windows, at least) for GUI apps to populate 
ERRORLEVEL.

> Also that the exit function be extended to give optional text and/or
> logfile

If the logfile wasn't given, where would the text be written?  GUI applications 
don't have a stdout (like ERRORLEVEL, that's in the domain of console 
applications).

>write, append, codes, texts, logfile name, default log file/stdout

All these parameters and options seem too complicated for a foreign.  
Especially when this is so easily written and customized to taste in user code. 
  If you have this function already, why do you want a foreign to do it for you?

If you're worried that the function isn't standard and you can't depend on its 
presence outside of your environment, perhaps you could submit it to Chris 
Burke as a candidate for inclusion in the standard library.  

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

Reply via email to