Topic: APLX Help : Help on APL language : System Commands : )DISPLAY Display array structure
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

)DISPLAY name


Displays the structure of a variable, in the same form as that returned by the ⎕DISPLAY system function.

      DATA←(2 2⍴⍳4) 'HELLO'
      )DISPLAY DATA
┌→──────────────┐
│ ┌→──┐ ┌→────┐ │
│ ↓1 2│ │HELLO│ │
│ │3 4│ └─────┘ │
│ └~──┘         │
└∊──────────────┘

      X←⊂(2 3⍴⍳6) (1 1⍴1) (1 2 2⍴⍳4) 
      )DISPLAY X
┌────────────────────────┐
│ ┌→───────────────────┐ │
│ │ ┌→────┐ ┌→┐ ┌┌→──┐ │ │
│ │ ↓1 2 3│ ↓1│ ↓↓1 2│ │ │
│ │ │4 5 6│ └~┘ ││3 4│ │ │
│ │ └~────┘     └└~──┘ │ │
│ └∊───────────────────┘ │
└∊───────────────────────┘

See the description of ⎕DISPLAY for details of the display format.


Topic: APLX Help : Help on APL language : System Commands : )DISPLAY Display array structure
[ Previous | Next | Contents | Index | APL Home ]