[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] segmentation fault in svn 639

From: Juergen Sauermann
Subject: Re: [Bug-apl] segmentation fault in svn 639
Date: Sat, 20 Jun 2015 17:09:24 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


the stack trace (or segfault on some systems) should be fixed in SVN 640.

While ISO proposes domain error, APL2 actually returns 0 instead (and so does GNU APL).
I'll leave it that way.


On 06/20/2015 01:09 PM, Kacper Gutowski wrote:
On Sat, Jun 20, 2015 at 12:32 PM, Louis Chretien <address@hidden> wrote:
I agree the error message should not be as dire as a segfault, but the basic
intent seems dubious…
There's nothing inherently wrong with this.  Argument of ⎕EX should
be a character array with rows containing identifiers (possibly padded
with spaces).  For example to expunge both 'A' and 'B' at the same time
you can write:
      ⎕EX 2 1⍴'AB'

Now, according to ISO, ⎕EX '3 3' should result in a domain error but
it gives 0 instead.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]