Tom -
This really ought to work, even under Linux:
2!:55 ''
where the argument to "2!:55" is an empty vector (two single-quotes).
Since I define "q" for myself, (i.e. it's not a standard verb) I'm not
surprised that that didn't work.
Since I usually use "2!:55" with an empty vector argument (''), does that
mean I'm not giving a return code? Would that be like a "void" or "void *"
return in C?
Regards,
Devon
On Mon, Dec 12, 2011 at 10:54 AM, Jeff Zellner <[email protected]>wrote:
> the verb exit (2!:55) takes an argument (return code)
>
> [jz@blitz 11:05:54 ~]$ ./j701/bin/jconsole
> exit
> 2!:55
> 2!:55
> 2!:55
> exit 0
> [jz@blitz 11:06:16 ~]$
>
>
> 2011/12/12 Björn Helgason <[email protected]>:
> > Common ctrl combinations to end something
> > ctrl + c
> > ctrl + d
> > ctrl + z
> > ctrl + q
> >
> > http://en.wikipedia.org/wiki/Control_key
> >
> > also esc
> >
> > 2011/12/12 Devon McCormick <[email protected]>
> >
> >> I usually use " q'' " where "q" is a cover for " 2!:55 ". Ctrl-D does
> >> something else under Windows - it doesn't seem to end a session.
> >>
> >> On Sun, Dec 11, 2011 at 10:18 PM, Tom Szczesny <[email protected]>
> wrote:
> >>
> >> > Found it --
> >> > Ctrl+d
> >> >
> >> > On Sun, Dec 11, 2011 at 10:06 PM, Tom Szczesny <[email protected]>
> wrote:
> >> >
> >> > > Hi -
> >> > >
> >> > > Earlier today I downloaded the J source and followed the build
> >> > > instructions on an i686 using Gentoo Linux.
> >> > > The J console fired right up and I was able to perform a few test
> >> > > calculations.
> >> > >
> >> > > I then checked through the J documentation for the command to end
> the
> >> > > console session in order to continue with the bin/build_defs.
> >> > > I can't seem to find any documentation on how to exit from a
> J-console
> >> > > session.
> >> > >
> >> > > I tried
> >> > > ctl-C
> >> > > quit
> >> > > exit
> >> > > )off
> >> > > $off
> >> > > )logoff
> >> > > end
> >> > > )end
> >> > > as well as many others.
> >> > >
> >> > > What is the correct command to end a J-consile session?
> >> > >
> >> > > Tom
> >> > >
> >> > ----------------------------------------------------------------------
> >> > For information about J forums see
> http://www.jsoftware.com/forums.htm
> >> >
> >>
> >>
> >>
> >> --
> >> Devon McCormick, CFA
> >> ^me^ at acm.
> >> org is my
> >> preferred e-mail
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> >
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fornustekkum II
> > 781 Hornafirði,
> > t-póst: [email protected]
> > gsm: +3546985532
> > twitter: @flugfiskur
> > 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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm