ex9.pp 383 B

12345678910111213141516171819202122
  1. Program Example9;
  2. uses Crt;
  3. { Program to demonstrate the ClrEol function. }
  4. var
  5. I,J : integer;
  6. begin
  7. For I:=1 to 15 do
  8. For J:=1 to 80 do
  9. begin
  10. gotoxy(j,i);
  11. Write(j mod 10);
  12. end;
  13. Window(5,5,75,12);
  14. Write('This line will be cleared from',
  15. ' here till the right of the window');
  16. GotoXY(27,WhereY);
  17. ReadKey;
  18. ClrEol;
  19. WriteLn;
  20. end.