System Command BOX

From NARS2000
Jump to navigationJump to search

The )BOX command is used to turn ON/OFF the appearance of a box around output. There are several forms:

      )BOX
Is OFF

and

      )BOX on
Was OFF

(or)

      )BOX off
Was ON

For example:

      )BOX on
Was OFF
      ⍳3
┌3─────┐
│ 1 2 3│
└~─────┘
      ⍳2 3
┌3─────────────────┐
2┌2───┐┌2───┐┌2───┐│
││ 1 1││ 1 2││ 1 3││
│└~───┘└~───┘└~───┘│
│                  │
│┌2───┐┌2───┐┌2───┐│
││ 2 1││ 2 2││ 2 3││
│└~───┘└~───┘└~───┘2
└∊─────────────────┘