Printing

### 24.2.6 Printing

The print or Disp command prints in a special pane called message area, located between input and output panes of a command line entry (the text is shown in green).

- print takes seq, a sequence of objects.
- print(seq) returns 1 and prints the seq in a special pane just above the output line.

#### Examples

print("Hello")

Hello

1 |  |  |  |  |  |  |  |  |  |

a:=12 print("a=",a)

| “a=,12” |  |  |  |  |  |  |  |  |
| 1 |  |  |  |  |  |  |  |  |

The ClrIO command erases printing on the level it was typed.

- ClrIO takes no arguments and no parentheses.
- ClrIO returns 1 and erases any printing on the special pane above the output line on the level it was typed.

#### Example

print("Hello"); ClrIO

(1,1) |  |  |  |  |  |  |  |  |  |