comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <mcondic.nospam@acm.org>
Subject: Re: modifying color of "Ada.Text_IO.Put"
Date: Thu, 21 Dec 2000 19:01:23 -0500
Date: 2000-12-22T00:00:45+00:00	[thread overview]
Message-ID: <3A4299D3.CF794D69@acm.org> (raw)
In-Reply-To: 3A425FFC.3831ACE2@gmx.net

This is going to be very machine/OS dependent and is therefore not part of
the language standard. If you specify the equipment you are using, someone
may have a package to help you out with it. Note that this is also true of
C and other programming languages. You are probably confusing compiler
specific packages or OS services with what is provided by a language
standard. What works in C provided by Microsoft for the Windows OS using a
DOS window is not going to be identical to what works using C provided by
GCC on a Sun using X Windows. This is really important to understand if you
want to write programs that will work in more than one environment.

MDC


Stefan Kombrink wrote:

> Hi there,
>
>   in C and other programming languages it's simply possible to change
> the background and foreground color of text plotted on screen. But GNAT
> doesn't seem to offer procedures to handle that.
>
> Moving the cursor may work with "Set_Col" and "Set_Line", but i need
> routines to change color as well!
>
> Could anyone remember a small, simple easy-to-use package (OS
> independent) or should it even be possible by using standard GNAT
> packages?
>
> I'm lucky for every single answer,
>   thank you very much >8^)
>
> Stefan K.

--
======================================================================
Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/
Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m
Visit my web site at:  http://www.mcondic.com/

    "Giving money and power to Government is like giving whiskey
    and car keys to teenage boys."

        --   P. J. O'Rourke
======================================================================





  parent reply	other threads:[~2000-12-22  0:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21 19:54 modifying color of "Ada.Text_IO.Put" Stefan Kombrink
2000-12-21 21:58 ` Adrian Knoth
2000-12-21 23:44 ` Juergen Pfeifer
2000-12-21 23:57 ` Ted Dennison
2000-12-22  0:01 ` Marin David Condic [this message]
2000-12-22 11:26 ` Lutz Donnerhacke
2000-12-22 12:33 ` Thank you very much Stefan Kombrink
2000-12-22 13:16   ` Marin David Condic
2000-12-22 20:21     ` Juergen Pfeifer
2000-12-23  0:51   ` Ted Dennison
replies disabled

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