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