Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 exptools; site whuxlm.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!whuxlm!jph
From: jph@whuxlm.UUCP (Holtman Jim)
Newsgroups: net.micro.pc
Subject: Re: Inverse Text from Turbo
Message-ID: <850@whuxlm.UUCP>
Date: Tue, 1-Oct-85 10:48:48 EDT
Article-I.D.: whuxlm.850
Posted: Tue Oct  1 10:48:48 1985
Date-Received: Thu, 3-Oct-85 03:57:21 EDT
References: <10000020@unido.UUCP> <1387@cae780.UUCP>
Organization: AT&T Bell Laboratories, Whippany
Lines: 29

> In article <10000020@unido.UUCP>, schnathm@unido.UUCP writes:
> > Can anybody tell me how to print inverse text from a Turbo-Pascal
> > program running on an XT ?
> > It seems, they only offer high- or lowlight.
> > 
> 
> The only way that I have found to do this is with the DOS interrupt $21
> call using the attribute settings as described in the DOS 2.1 manual.
> I have a set of procedures that handle this. If there is interest I could
> post them to net.sources, or you can e-mail to me for a copy.
> 
> Bob
> 
> 
> FROM:   Robert J. Evans, CAE Systems Division of Tektronix, Inc.
> UUCP:   tektronix!teklds!cae780!rje
> 	{ihnp4, decvax!decwrl}!amdcad!cae780!rje 
>         {nsc, hplabs, resonex, qubix, leadsv}!cae780!rje 
> USNAIL: 1333 Bordeaux Drive, Sunnyvale, CA  94089 [until we move ... soon]
> AT&T:   (408)745-1440 [until we move .. soon]
> 
> 
>  

for reverse video (or any other combination) use the TextColor
and TextBackground functions. For inverse video, use;

	TextColor(black);
	TextBackground(white);