Dyadic []DR and Unicode

General APL language issues
Post Reply
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

Dyadic []DR and Unicode

Post by paulmansour »

Hi all,

This:

Code: Select all

      display  323 83 ⎕DR 1 2 3 4567890 
┌→────────────────────┐
│ ┌→──────┐ ┌→──────┐ │
│ │1 2 3 0│ │1 1 1 0│ │
│ └~──────┘ └~──────┘ │
└∊────────────────────┘
...seems to agree with the documentation. But then this:

Code: Select all


display  160 80 ⎕DR  'paul⌽⍉'
┌→───────────────────────┐
│ ┌→─────┐ ┌→──────────┐ │
│ │      │ │0 0 0 0 0 0│ │
│ └──────┘ └~──────────┘ │
└∊───────────────────────┘


...does not. Shouldn't the result look like this:

Code: Select all

      display'paul  '(1 1 1 1 0 0)
┌→───────────────────────┐
│ ┌→─────┐ ┌→──────────┐ │
│ │paul  │ │1 1 1 1 0 0│ │
│ └──────┘ └~──────────┘ │
└∊───────────────────────┘


Is this a bug or am I missing something?
JohnS|Dyalog

Re: Dyadic []DR and Unicode

Post by JohnS|Dyalog »

This certainly looks strange. I have logged issue[7410] to investigate.
JohnS|Dyalog

Re: Dyadic []DR and Unicode

Post by JohnS|Dyalog »

FYI: This issue [7410] has been fixed and a patch will be available shortly.
John.
Post Reply