You need to separate the number in the foreign conjunction from its argument, otherwise J interprets " 2!:55 0" as "2!:(55 0)", e.g. 2!:55 ] 0 2!:55 (0)
On Mon, Dec 12, 2011 at 11:29 AM, Tom Szczesny <tav...@gmail.com> wrote: > Hi - > > exit 0 works > ctrl+c does not work > ctrl+d works > ctrl+z exits, but with a message > [1]+ Stopped > bin/jconsole (the first time you end a session) > [2]+ Stopped > bin/jconsole (the second time you end a session) > ctrl+q does not work > > 2!:55 '' works (when I add the the 2 single quotes at the > end) > 2!:55 0 does not work > 2!:55 does not work (with no pair of single quotes) > > Thanks again, > Tom > > > On Mon, Dec 12, 2011 at 11:13 AM, Devon McCormick <devon...@gmail.com > >wrote: > > > 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 <jeff.zell...@gmail.com > > >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 <gos...@gmail.com>: > > > > 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 <devon...@gmail.com> > > > > > > > >> 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 <tav...@gmail.com> > > > wrote: > > > >> > > > >> > Found it -- > > > >> > Ctrl+d > > > >> > > > > >> > On Sun, Dec 11, 2011 at 10:06 PM, Tom Szczesny <tav...@gmail.com> > > > 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: gos...@gmail.com > > > > 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 > > > ---------------------------------------------------------------------- > 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