bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] ⎕ES wrong message


From: Juergen Sauermann
Subject: Re: [Bug-apl] ⎕ES wrong message
Date: Mon, 14 Jul 2014 16:15:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

I believe the ⎕ES related bugs reported recently should be fixed in SVN 372.

This one is not, though. The reason is that fixing it would have considerable performance
impacts (we would need a copy of every defined function argument only for the rare case that ⎕ES
is called),

I also find it somewhat arbitrary to show a non-locked function as locked in this very specific case.

Since ⎕ES is not ISO-standard anyhow, I take the freedom to trade performance for APL2 compatibility.

/// Jürgen



On 07/12/2014 06:34 PM, Blake McBride wrote:
      )CLEAR
CLEAR WS
      ∇test x
[1] x←'xx'
[2] ⎕ES 'SOME ERROR'
[3] ∇
      test '55'
SOME ERROR
      test 'xx'
      ^       ^


⎕ES is showing the modified and not the original argument passed to the function.  IBM APL 2 displays the original argument passed.

Thanks.

Blake



reply via email to

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