bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] 8⎕CR on empty string array prints str ange result


From: Elias Mårtenson
Subject: [Bug-apl] 8⎕CR on empty string array prints str ange result
Date: Wed, 29 Jan 2014 15:53:35 +0800

If I create an empty character array by selecting  from an array that contains a string and a number, the result becomes what seems to be an empty array with non-zero shape.

The issue can best be explain by the following interaction. Note the strange output from 8⎕CR:

      a←('foo' 9)[⍬]
      b←''
      a≡b
0
      a
      b
      8⎕CR a
┌⊖──┐
│   │
└───┘
      8⎕CR b
┌⊖┐
│ │
└─┘
      ⍴a
0
      ⍴b
0
      
Regards,
Elias

reply via email to

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