Re: Real Time IO routines



On Sat, 27 Oct 2007 20:15:15 GMT, anon wrote:

Plus, the "Ada.Real_Time" package uses:

type Time is new Duration;

which is in private section.

The standard defines the private section of as:

private
... -- not specified by the language
end Ada.Real_Time;

See ARM D.7.

To make the program dependant on whatever private parts of library packages
is an even worse idea than just converting Time to Duration. The latter is
just semantically wrong, but the former is wrong methodologically.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: Ada Plattform Independence
    ... is to make it private, which causes problems if people are doing ... representation clauses, sometimes for good reasons: ... Duration is 32 bits to one where Duration is 64 bits ... compile this code, it should use the same implementation of Duration? ...
    (comp.lang.ada)
  • Re: The New iMacs
    ... better than a big profit margin if all that's made is $100 million. ... government can take the reccomendations of a private entity and make ... it a public standard by turning it into a law. ... recognize a standard denotes organization and that means government. ...
    (comp.sys.mac.advocacy)
  • Re: The New iMacs
    ... fatter profit margins. ... private organizations. ... Now a public organization does that through government. ... even brought up a government and how they adopted a standard. ...
    (comp.sys.mac.advocacy)
  • Re: Unprivatize files???
    ... When I added a p/w to one of my admin accounts, ... Now my standard user is having issues running ... (the only thing that is 'marked private' in the manner described - ...
    (microsoft.public.windowsxp.basics)
  • Re: Silly resistor values
    ... A pretty astonishing example of an internationally famous astronomer who despite publishing what are still the standard reference works on amateur deep sky observing died in poverty and obscurity in San Diego. ... Because the private insurance option will have better benefits than the government option. ... Private insurance allows a bit more flexibility about scheduling operations and nicer rooms. ... One thing to remember here is that it is very difficult to negotiate price when you have a life threatening injury or acute appendicitis. ...
    (sci.electronics.design)