bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] APL )DUMP/)LOAD bug - Nested Arrays...


From: Martin R. Bartels
Subject: [Bug-apl] APL )DUMP/)LOAD bug - Nested Arrays...
Date: Mon, 14 Nov 2016 18:09:46 -0500

Jürgen,

I looked through the bugs - I don't know beyond doubt that this is new, but FWIW, when attempting to create a "demo" nested array, it didn't survive the )DUMP/)LOAD round-trip.

The statements below will recreate it (on gnu-apl 1.6):

      a←2 3⍴'ABCDEF'
      b←3 3⍴⍳9
      c←○1
      d←'⍫'
      e←0
      f←⍳0
      g←7
      h←'Hello World'
      i←''
      j←3 3⍴a b c d e f g h i
      k←j
      k[2;2]←⊂j
      
       
      ⍝ ---Observe!---
      
      8 ⎕CR k
      
       
      ⍝ ---Now output/input---
      
      )DUMP xyzzy
      )LOAD xyzzy.apl
      
      ⍝ ---What happened to 2 3⍴'ABCDEF' at k[1;1] and the nesting at k[2;2]?-----
      
      8 ⎕CR k

 I hope that this helps!

Thanks!

——Martin
____________________________________________________
Martin R. Bartels
address@hidden



reply via email to

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