Clears the command window by masking its former content above the top
tohome
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, tohome can only be used when Scilab
is launched in standard windowed mode (getscilabmode()=="STD" ). |
rand(10,10) tohome(); | ![]() | ![]() |