community.borland.com

Article #15793: INVERSE VIDEO TEXT

 Technical Notes Database

TN793D.txt   INVERSE VIDEO TEXT
Category   :Pascal
Platform    :All
Product    :Turbo Pascal  3.0+

Description:
Q. How do I get inverse video in text mode using Turbo Pascal 3.0
   and 4.0+?
A. You can create inverse video by reversing text and background
   colors before displaying text.  For example:

     Program InverseIt;
     { Uses Crt;  => Add if using TP 4.0+ }
     begin
       TextBackground(White);
       TextColor(Black);
       writeln('This is inverse video!');
     end.


Reference:


7/16/98 4:35:35 PM
 

Last Modified: 01-SEP-99