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