bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Revisiting localization of system variables


From: David Lamkins
Subject: [Bug-apl] Revisiting localization of system variables
Date: Tue, 22 Jul 2014 13:58:48 -0700

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?

--
"The secret to creativity is knowing how to hide your sources."
   Albert Einstein

reply via email to

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