Dyadic []DR and Unicode
Posted: Sat Jul 02, 2011 7:24 pm
Hi all,
This:
...seems to agree with the documentation. But then this:
...does not. Shouldn't the result look like this:
Is this a bug or am I missing something?
This:
Code: Select all
display 323 83 ⎕DR 1 2 3 4567890
┌→────────────────────┐
│ ┌→──────┐ ┌→──────┐ │
│ │1 2 3 0│ │1 1 1 0│ │
│ └~──────┘ └~──────┘ │
└∊────────────────────┘
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?