comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: print string.
Date: 1999/02/28
Date: 1999-02-28T00:00:00+00:00	[thread overview]
Message-ID: <TkAt8e2Y#GA.180@pet.hiwaay.net> (raw)
In-Reply-To: ZFodR#1Y#GA.215@news4.netsgo.com

Hee wrote in message ...
>Hi,
>I'm a beginner in ADA95.
>I want to give color to string when print it on monitor. ADA has any
>function do this ?
This functionality has nothing to do with Ada.  It's a function of your
terminal.  For example ANSI terminals allow you to change the foreground and
background attributes (color, blinking, underlined, hidden, etc.) by means
of escape sequences.  These escape sequences can be output in any language,
including Ada.

You didn't say which platform, you're using, but DOS, Windows 3.1, Windows
95, Windows 98 and most UNIX flavors all have ANSI terminal capabilities.
Windows NT does not, but Jerry van Dijk's Ada on Win32 page (at
http://stad.dsl.nl/~jvandyk/) has an NT console package which allows control
of color on NT console applications written in Ada, based on an interface to
the NT console API.








      reply	other threads:[~1999-02-28  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-01  0:00 Q: print string Hee
1999-02-28  0:00 ` David C. Hoos, Sr. [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox