12.2.6 Printing: print Disp ClrIO
The print command prints in a special pane.
Disp is a synonym for print.
-
print takes one argument:
seq, a sequence of objects.
- print(seq) returns 1 and prints the
seq in a special pane just above the output line.
Examples.
-
Input:
print("Hello")
Output:
- Input:
Output:
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.
Input:
print("Hello"); ClrIO
Output:
(1,1)