The text in the help should possibly reflect the fact that in Windows J does
not return integer return code that can be used in a calling bat file
or
the functionality should be changed

This has not bothered me much before because I have used jconsole in such
cases
or written specifically to  file as appropriate

Or maybe there is another way of retrieving the return code from J ?

2005/11/16, Martin Pelletier <[EMAIL PROTECTED]>:

Oh, darn, it had to be jconsole, not j.exe.  OK, that works. Thank you!

Dan Bron wrote:

>>2!:55 y    Terminate Session.     y is an integer return code
>>
>>Is it possible to catch this return code as an errorlevel in
>>command line from windows 2000? If so, how?
>>
>>
>
>C:\>echo %ERRORLEVEL%
>0
>
>C:\>jconsole
>   (2!:55) 999
>
>C:\>echo %ERRORLEVEL%
>999
>
>-Dan
>
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm
>
>

--
Martin Pelletier
Infodev EDI
Software & Tests
[EMAIL PROTECTED]
(418) 681-3539 #114

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




--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to