Back to manual index
:: clrscr
:: Type = Display function
:: Environment = Windows, Linux, Unix
:: What = Clears current window.
:: Description = clrscr clears the current window (using the current colors), and
sets the cursor in the top left corner of the current window.
Example:
program ExampleOfClrscr;
{ Program to demonstrate the ClrScr function. }
begin
writeln('Press any key to clear the screen');
readkey;
clrscr;
writeln('Have fun with the cleared screen');
end. |