As an extension of 2!:55 or an exit tool the functionality could be extended
to be something like I use:

'Return code,Text',LF,'0,OK') fwrite 'user\CTDI\LOGG\ctskoda.csv'

that is
 - return code
 - (optional) return text
 - (optional) log file

2007/4/12, Björn Helgason <[EMAIL PROTECTED]>:

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  |
   (   -.  |        `-----------------------------------'
   |     ) |        (\_ _/)
  (`-.  '--.)       (='.'=)
   `. )----'        (")_(")




--
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