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,ec7fc30600a974ce X-Google-Attributes: gid103376,public From: Ray Blaak Subject: Re: Programming for the World in Ada95 Date: 2000/02/16 Message-ID: #1/1 X-Deja-AN: 586663768 Sender: blaak@LANGLEY References: <38A83838.44A43A7D@res.raytheon.com> <88b4oa$ljt$1@wanadoo.fr> <38A99E37.F355452C@quadruscorp.com> <88esr7$nff$1@wanadoo.fr> X-Complaints-To: news@bctel.net X-Trace: news.bctel.net 950733546 209.53.149.65 (Wed, 16 Feb 2000 12:39:06 PDT) Organization: The Transcend NNTP-Posting-Date: Wed, 16 Feb 2000 12:39:06 PDT Newsgroups: comp.lang.ada Date: 2000-02-16T00:00:00+00:00 List-Id: "Pascal Obry" writes: > And what about: > > function Critical_Error (Total_Count, Critical_Count : in Positive) return > String is > begin > return "there are" & Positive'Image (Total_Count) & " bad things here," > & Positive'Image (Critical_Count) & " of which matter"; > end Critical_Error; Well sure, but the point was to be able to have translated strings come from a data file rather than being hard coded into the program. That way, one can do translations after the fact, and farm out translation tasks to consultants who know the languages, but are not necessarily programmers. Most importantly, that way you can have the same software that runs anywhere and have it dynamically decide which translation data to use, based on the locale information as provided by the operating system. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, blaak@infomatch.com The Rhythm has my soul.