LoginLogin

CLS

Root / Documentation / [.]

Created:
Clear the upper and lower text screens. # Syntax ```sbsyntax CLS ``` # Examples ```sb CLS ``` # Notes `CLS` clears the contents of both text screens - text set by `PRINT` and by `PNLSTR` is cleared. This sets all characters to the zero character `CHR$(0)`. `CLS` does not reset the text foreground or background color, however. Executing `CLS` will fill the screen with the currently selected color and background color, and future text printed will maintain the last color set. The text cursor is reset to the top left of the screen (`CSRX=0`, `CSRY=0`). # See Also - sbs:page/docs-ptc-console{Console overview} - sbs:page/docs-ptc-acls{`ACLS`}

No posts yet (will you be the first?)