From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c49535d80db6774,start X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: print string. Date: 1999/02/28 Message-ID: #1/1 X-Deja-AN: 449656931 References: Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 1999-02-28T00:00:00+00:00 List-Id: 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.