comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: Units of measurement for Ada v2.7
Date: Sat, 5 Jul 2008 12:43:04 +0200
Date: 2008-07-05T12:43:04+02:00	[thread overview]
Message-ID: <486f502e$0$6026$9a622dc7@news.kpnplanet.nl> (raw)
In-Reply-To: 1u5mt4g8vgme8.14oaipgk5hd0a$.dlg@40tude.net

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" <mailbox@dmitry-kazakov.de> 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 





  reply	other threads:[~2008-07-05 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 20:02 ANN: Units of measurement for Ada v2.7 Dmitry A. Kazakov
2008-07-05 10:43 ` ldries46 [this message]
2008-07-05 14:25   ` Dmitry A. Kazakov
replies disabled

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