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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,814bd9dd1692da42 X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: Calling C time function from ADA-95 Date: 1998/06/08 Message-ID: <357C141E.D868661F@earthling.net>#1/1 X-Deja-AN: 360732411 Content-Transfer-Encoding: 7bit References: <3579da75.13533758@enews.newsguy.com> To: Matthew Heaney Content-Type: text/plain; charset=us-ascii Organization: http://extra.newsguy.com Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-06-08T00:00:00+00:00 List-Id: 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