comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixson@earthling.net>
To: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Calling C time function from ADA-95
Date: 1998/06/08
Date: 1998-06-08T00:00:00+00:00	[thread overview]
Message-ID: <357C141E.D868661F@earthling.net> (raw)
In-Reply-To: m3g1higl6n.fsf@mheaney.ni.net


Matthew Heaney wrote:
> 
> noyb@here.net (Faust!) writes:
> 
> > Looking for a way to call out to time.h for system clock information
> > from Ada-95.....
> >
> > Anyhave know of or have code that might help?  If not, how about
> > general idea of how to implement....Thanks
> 
> What's wrong with package Calendar or Real_Time?
Well, since you asked, the year type of Calendar has a **much** too
restricted range.  Saving space by restricting the size of the year that
way reminds me of all of the programs that stored only two digits for
their year in the '60s, and now their descendants are delighting
everyone.

To be fair, the Ada year type would throw an exception, but that merely
means that it warns me that it is unusable.

-- 
Charles Hixson	charleshixson@earthling.net
(510) 464-7733	or chixso@mtc.dst.ca.us




  reply	other threads:[~1998-06-08  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-07  0:00 Calling C time function from ADA-95 Faust!
1998-06-06  0:00 ` Matthew Heaney
1998-06-08  0:00   ` Charles Hixson [this message]
1998-06-08  0:00     ` Dale Stanbrough
1998-06-08  0:00       ` Larry Kilgallen
1998-06-09  0:00       ` Markus Kuhn
1998-06-09  0:00         ` Charles Hixson
1998-06-09  0:00           ` Markus Kuhn
1998-06-09  0:00             ` Charles Hixson
1998-06-12  0:00               ` Larry Kilgallen
1998-06-07  0:00 ` Markus Kuhn
replies disabled

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