next up previous contents index
Next: ClrEol Up: Procedures and Functions Previous: Window

ClrScr

   

Declaration:

Procedure ClrScr ;

Description:

ClrScr clears the current window (using the current colors), and sets the cursor in the top left corner of the current window.

Errors:

None.

See also:

Window

Example
Program Example8;
uses Crt;

{ 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.



Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998