tohome
Clears the command window by masking its former content above the top
Syntax
tohomeDescription
tohome sets the commands prompt to the top of the command window,
followed by an empty space down to the bottom of the console.
Unlike clc that erases all preexisting execution results,
tohome keeps but rejects them above
the visible area of the console, and therefore masks them. It is still possible to see
former results by dragging the vertical scroll bar available in the right margin of the console.
![]() | On MS Windows, |
Examples
rand(10,10) tohome();
See also
- clc — Clear Command Window
| Report an issue | ||
| << prompt | Console | History manager >> |
