Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site stolaf.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!stolaf!krausej From: krausej@stolaf.UUCP (James J. Krause) Newsgroups: net.micro.pc Subject: Re: Inverse Text from Turbo Message-ID: <4930@stolaf.UUCP> Date: Mon, 30-Sep-85 01:23:49 EDT Article-I.D.: stolaf.4930 Posted: Mon Sep 30 01:23:49 1985 Date-Received: Tue, 1-Oct-85 03:26:29 EDT References: <10000020@unido.UUCP> Organization: St. Olaf College, Northfield MN Lines: 19 > 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. > > Stefan Schnathmeier ( seismo!mcvax!unido!schnathm ) There are standard procedures for changing the color of text in Turbo Pascal. Look in the section of your manual titled, "IBM PC GOODIES." The procedures are TEXTCOLOR(color) and TEXTBACKGROUND(color). I just tested them with both versions 2 and 3, and I could produce inverse text with only a single quirk: if I used WRITELN() instead of just WRITE(), the line after the inverse text would also be inverted. You can invert text by setting the background to white and the characters to black. Since you have an XT, you shouldn't have any compatibility problems.... :-) I have a color graphics adapter, so I don't know exactly how these procedures work with a monochrome board. James Krause ...!ihnp4!stolaf!krausej