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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5894fe67040038b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-07 09:18:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!fr.clara.net!heighliner.fr.clara.net!157.161.139.35.MISMATCH!359537!news.imp.ch!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Attributes 'Version and 'Body_Version Date: Wed, 7 Nov 2001 11:45:02 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9sboee$42f$1@nh.pace.co.uk> References: <9s9iti$g$1@nh.pace.co.uk> <5ee5b646.0111061939.595b61be@posting.google.com> <9sbb1f$2bm$1@plutonium.btinternet.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1005151502 4175 136.170.200.133 (7 Nov 2001 16:45:02 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 7 Nov 2001 16:45:02 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:16002 Date: 2001-11-07T16:45:02+00:00 List-Id: Well, its useful enough for an application to be able to say: "I know I am dependent on version 'LMNOP' and if the version is anything but 'LMNOP' then I'd better take evasive action because something may not work." But if there is some ability to determine order for the version strings, you get even more usefulness out of it. You can then write code that can say things like "I know that version '12345' and greater support feature X so it is O.K. for me to use feature X." or "Versions prior to '54321' only support data items A, B, and C, while versions between '54321' and '54323' support D, ane E, and so now I know what I can read in and display..." Like I said, it won't be "standard" but it still might be useful. It might not hurt for Ada0x to insist that Something'Version and Something'Body_Version yield a string that is increasing in sort order with each change. That at least would let you do "<" and ">" comparisons and know you are still portable. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Tony Gair" wrote in message news:9sbb1f$2bm$1@plutonium.btinternet.com... > On a hopefully slightly more helpful note :- > > I think it is used in the Glade distrib. annex (Godinspired Labour, Design > and Engineering) > examples to compare versions, my interest would be in checking a client from > a server to > check the version of the client. > > On the subject of the RM though has anyone read this ... > The glade user guide, RM and a certain book written by John Barnes > is far less likely to send you asleep.