⍝ Boxed display of array:

    displayr 1 'a' 'abc' (2 3⍴⍳6)       ⍝ with shape per axis and depth.
┌4────────────────────┐
│     ┌3───┐ ┌3─────┐ │
│ 1 a │ abc│ 2 1 2 3│ │
│   - └────┘ │ 4 5 6│ │
│            └~─────┘ │
└¯2───────────────────┘

⍝ Compare with:

    display 1 'a' 'abc' (2 3⍴⍳6)    ⍝ "standard" display.
┌→──────────────────┐
│     ┌→──┐ ┌→────┐ │
│ 1 a │abc│ ↓1 2 3│ │
│   - └───┘ │4 5 6│ │
│           └~────┘ │
└∊──────────────────┘

⍝∇ displayr display

Back to: code

Back to: Workspaces