Discussion:
[Bug-apl] Runaway power operator can't be stopped
Elias Mårtenson
2017-07-06 03:31:28 UTC
Permalink
If I write an expression using the power operator that never finishes, for
example:

* 10+⍣=1*

Then this will run forever, and Control-C can't be used to kill it. The
only way out is to kill the entire APL session.

Regards,
Elias
Christian Robert
2017-07-06 03:45:50 UTC
Permalink
Not tested, but I agree partly.

for sure ^C do not cancel any/every thing running

but it should.

Xtian.
* 10+⍣=1*
Then this will run forever, and Control-C can't be used to kill it. The only way out is to kill the entire APL session.
Regards,
Elias
Juergen Sauermann
2017-07-06 19:34:16 UTC
Permalink
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Elias,<br>
<br>
thanks, fixed in <b>SVN 980</b>. You need <b>INTERRUPT</b>
though (two <b>^C</b> within a short period).<br>
A single <b>^C</b> (<b>ATTENTION</b>) conceptually only stops a
defined function at the end of the line.<br>
<br>
/// Jürgen<br>
<br>
</font><br>
<br>
<div class="moz-cite-prefix">On 07/06/2017 05:31 AM, Elias Mårtenson
wrote:<br>
</div>
<blockquote
cite="mid:CADtN0W+***@mail.gmail.com"
type="cite">
<div dir="ltr">If I write an expression using the power operator
that never finishes, for example:
<div><br>
</div>
<div><font face="monospace, monospace"><b>      10+⍣=1</b></font><br>
</div>
<div><br>
</div>
<div>Then this will run forever, and Control-C can't be used to
kill it. The only way out is to kill the entire APL session.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Elias</div>
</div>
</blockquote>
<br>
</body>
</html>

Continue reading on narkive:
Loading...