bug-apl
[Top][All Lists]
Advanced

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

Re: )LOAD dumped WS had a name clash - intermittend


From: Dr . Jürgen Sauermann
Subject: Re: )LOAD dumped WS had a name clash - intermittend
Date: Fri, 29 Sep 2023 16:33:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

Hi Peter,

it very much looks like the VALENCE ERROR is caused by the minus
sign in 1E-13. The question is where the minus comes from. There
are two possibilities:

1. The most likely case is that the user has written 1E-13 in some
   APL script (but meant to write 1E¯13). In this case GNU APL seems to
  behave correctly (1E-13 is parsed 1 E - 13 and then E must be dyadic).

2. The minus comes from am earlier )DUMP which wrote 1E-13 instead of
   1E¯13. In that case the information below is not sufficient as to how the
   fault was produced.

Please check your workspaces with a text editor (both .xml and .apl files
are human readable). GNU APL tends to use uppercase E and ¯ (like 1E¯13)
in .apl files and lowercase e and ASCII - (like 1e-13) in .xml files. Therefore
the combination of uppercase E and ASCII - is not supposed to occur in
either file format.

Best Regards,
Jürgen


On 9/29/23 14:28, Hans-Peter Sorge wrote:
Hi,

I have a function E (as simple as in test below)   in my workspace (WS size 2.9MB).

)DUMP and
)loading it produces an error:

     )LOAD ........
DUMPED 2023-09-28  19:44:54 (GMT+2)
VALENCE ERROR
      ⎕CT←1 E-13
          ^  ^


Just
)ERASE E
∇E .... ∇  ⍝ recreate ist
)DUMP
)LOAD ...

fixed if

Best Regards
Hans-Peter




reply via email to

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