Subj : Re: write with colors To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Fri Sep 05 2003 07:04 pm Read the compiler's help file for what I list below. The items with functionality such as you are asking about are in the header file CONIO.H. There are no things in the Borland compiler to clone the custom functions that PowerC provides. Borland has direct screen writing functionality since about '85, long before Mix cleaned up PowerC and made those things work right. gettextinfo reads the current screen info including the foreground and background color settings. textcolor textbackground set the text and background colors textattr does both in one call putch writes a character to the screen using the current foreground and background colors cputs writes a string to the screen using the current foreground and background colors gettext puttext read and write respectively one or more characters to the screen with foreground and background colors individual to each character cell without disturbing the current color settings .. Ed > Rob C wrote in message > news:3f58faa2$1@newsgroups.borland.com... > > My old compiler, PowerC for DOS, had a function called > writechs( string[i], attr, 1 ); that would write one character > in any foreground/background color that was specified in ‘attr’ > - (0x71, etc). Could someone show me the code used to write > this? .