Cls
Cls (Statement)
Format
cls
Description
Clears the text output window.
The colours and the font are kept, the way a console always did, so a program that has set TextColor, TextBackground or TextFont may clear the screen as often as it likes without having to say again what it wants. They all go back to normal when a program starts, so one program can never hand the window on to the next in a state where the text is invisible.
The cursor is left at the top left corner, so the next Print begins there. In a window fixed by TextScreen the screen is blanked and the cursor put back to 0, 0 in the same way.
See Also
Locate, Print, TextBackground, TextChar, TextCol, TextColor, TextFont, TextRow, TextScreen