bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Revisiting localization of system variables


From: Juergen Sauermann
Subject: Re: [Bug-apl] Revisiting localization of system variables
Date: Wed, 23 Jul 2014 15:58:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi David,

thanks. The statement is still valid. Just forgot to overload Quad_IO::push().
Fixed in SVN 386.

/// Jürgen


On 07/22/2014 10:58 PM, David Lamkins wrote:
On May 27th Jüergen wrote:

"Note that there are some subtle differences between IBM APL2 and GNU APL
when localizing ⎕-vars. In IBM APL2 they are undefined after localizing them.
In GNU APL they are pre-initialized with their respective default values. This
gives simpler (and therefore faster code) because no check for validity is needed
for the variables themselves, but also for the many internal users of them."

In SVN 385, this function fails with a VALUE ERROR:

∇test;⎕io
 ⎕←⎕io


Has GNU APL intentionally changed to match the APL2 behavior in this case?


reply via email to

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