bug-apl
[Top][All Lists]
Advanced

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

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


From: Juergen Sauermann
Subject: Re: [Bug-apl] APL )DUMP/)LOAD bug - Nested Arrays...
Date: Tue, 15 Nov 2016 18:20:27 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Martin,

thanks, fixed in SVN 809.

/// Jürgen


On 11/15/2016 12:09 AM, Martin R. Bartels wrote:
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




reply via email to

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