bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Localizing ⎕CT


From: Juergen Sauermann
Subject: Re: [Bug-apl] Localizing ⎕CT
Date: Sat, 22 Aug 2015 14:00:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Jay,

I see, thanks. I believe both methods (keeping the current value or using a default value)
are reasonable approaches. My primary goal was to have some reasonable value
for all ⎕-variables, so that I can avoid tests all over the place (in particular for ⎕IO and ⎕CT).

I would also say that a well-written APL program should not make use of this "feature".

To avoid incompatibilities with existing GNU APL programs, I believe I should not
touch the current behavior.

/// Jürgen


On 08/21/2015 12:40 PM, Jay Foad wrote:
FYI this is different from NARS2000 and Dyalog, which leave
⎕-variables set to their current value, rather than setting them to
some default value.

Jay.

On 21 August 2015 at 11:04, Juergen Sauermann
<address@hidden> wrote:
this is a GNU APL feature. Instead of leaving ⎕-variables undefined
and raising the according error when referenced, GNU APL sets them
to their default values when they are being localized.

    


reply via email to

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