Thank you very much for this bright explanation. I fully got it now. Best. Eric

Le 08/04/2021 à 17:27, Eric Iverson a écrit :
check user doc at:https://code.jsoftware.com/wiki/Guides/Interrupt

***
ctrl+c in the term window will interrupt a running J program and will cause
output in the JHS session window in the browser.

An easy way to see this is to run a sentence that will sleep. And then
break the sleep by doing ctrl+c twice.

That is:
    in the browser window do:   6!:3[60 NB. sleep for a minute
    in the server term window do: ctrl+c and then do it a second time (2
required to break a sleep)

you should see that the sleep has been broken as indicated by output in the
browser window

*** warning
There are some bugs in break with JHS in 901 and 902. They have been fixed
in the latest 903. A break when J is running works properly. But a break if
J is waiting for JHS input will crash.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to