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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6d6e5cffbd63e86 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!feed.xsnews.nl!border-2.ams.xsnews.nl!68.142.88.77.MISMATCH!hwmnpeer03.ams!news.highwinds-media.com!xlned.com!feeder3.xlned.com!amsnews11.chello.com!newsfeeder.wxs.nl!divide.nova.planet.nl!posting.nova.planet.nl!not-for-mail From: "ldries46" Newsgroups: comp.lang.ada References: <1u5mt4g8vgme8.14oaipgk5hd0a$.dlg@40tude.net> Subject: Re: Units of measurement for Ada v2.7 Date: Sat, 5 Jul 2008 12:43:04 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original Message-ID: <486f502e$0$6026$9a622dc7@news.kpnplanet.nl> NNTP-Posting-Host: 86.88.17.1 X-Trace: 1215254574 news.kpnplanet.nl 6026 86.88.17.1:60566 X-Complaints-To: abuse@direct-adsl.nl Xref: g2news1.google.com comp.lang.ada:1014 Date: 2008-07-05T12:43:04+02:00 List-Id: I am glad that such a program exists in ADA but I think there are more programs that just convert dimensions. What I think that is more urgent is a standard database for such conversions and a package that can use such a database in any program. In the past I wrote such a set of routines (in Visual C++) in which it was possible to in and output in various dimensions. All calculations in programs were done in the basic SI units although it was possible to input something for instance in feet and output the result in inches. I think that such a package would be of grat ease to much programmers. When I am a little bit more experienced in ADA I may copy these routines in ADA. Regards L. Dries "Dmitry A. Kazakov" schreef in bericht news:1u5mt4g8vgme8.14oaipgk5hd0a$.dlg@40tude.net... > The library provides an implementation of dimensioned values for Ada. Unit > checks are made at run-time, if not optimized out by the compiler. SI and > irregular measurement units are supported. Shifted units like degrees > Celsius are supported too. Conversions from and back to strings are > provided for all various irregular units. An extensive set of GTK widgets > for dealing with dimensioned values is included, though use of GTK is not > mandatory for the rest of the library. > > http://www.dmitry-kazakov.de/ada/units.htm > > This version is adapted to recently published GtkAda 2.10.2, which has > changed behaviour of popup windows. > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de