2
0

ex4.pp 252 B

12345678910111213
  1. Program Example4;
  2. uses Crt;
  3. { Program to demonstrate the TextMode function. }
  4. begin
  5. TextMode(CO40); {Only clears screen under linux}
  6. WriteLn('Mode 40x25 Color');
  7. ReadKey;
  8. TextMode(CO80);
  9. WriteLn('Back in Mode 80x25 Color');
  10. ReadKey;
  11. end.