I think he was simply referring to a normal exit from J once he's done
using it.  For the "choking" case, what to do depends on the OS and the J
interface one is using: for jconsole in emacs under Windows, I enter "Ctl-c
Ctl-\".  However, I have discovered ways to choke J so badly it locks up my
machine and forces a power-down re-boot.


On Tue, Jan 21, 2014 at 10:51 PM, Don Kelly <d...@shaw.ca> wrote:

> If in reference to 'exit' you are referring to J going of to never never
> land and not responding to anything- I fail to se where some J command is
> going to work. In Windows I can ctrl-alt-delete and shut down J (with loss
> of what I was doing) . Does this situation occur- yes , definitely, -likely
> because for some unknown reason, I have set up infinite looping or a
> situation where J simply chokes (message I get is J is running normally?)-
>   If it can interrupt a process , q' ' is great but If one cannot enter q '
> ' because the machine is busy chasing its own tail then what good is it?
>
> Don Kelly
>
> On 20/01/2014 10:31 AM, Devon McCormick wrote:
>
>> This is a good point and it's been brought up before.  I define
>>     q=: 2!:55
>> and enter
>>     q''
>> to exit J but it's not standard.  We should probably make "exit" more
>> accessible.
>>
>>
>> On Mon, Jan 20, 2014 at 1:23 PM, Blake McBride <bl...@mcbride.name>
>> wrote:
>>
>>  Greetings,
>>>
>>> Just providing some feedback....
>>>
>>> The fist thing I wanted to know when I started J was how to exit.  I did
>>> some research and discovered 2!:55.  I then defined a verb and used that
>>> to
>>> exit.  Therefore, in order to get a clean way to exit a new language, I
>>> had
>>> to learn what a verb is, what system verbs were available, how to define
>>> it, and how to load it.  (I know about ^d but think that is hardly a
>>> clean
>>> way to exit.)
>>>
>>> Now, years later, I discover the pre-defined verb 'exit'.  I checked the
>>> docs, especially "Learning J".  There is no mention of 'exit'!
>>>
>>> As someone who has played with many languages over the years, and in fact
>>> an author of one, I respectfully suggest updating chapter 1 of Learning J
>>> to tell the user how to exit.  Making a research project out of the first
>>> obvious desire is an unnecessary impediment to a language acquision.
>>>
>>> Additionally, since I discovered 'exit', a comprehensive dictionary of
>>> pre-defined verbs would be very helpful.  (I know about z, etc.)
>>>
>>> Thanks.  Just some thoughts...
>>>
>>> Blake McBride
>>> ----------------------------------------------------------------------
>>> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to