comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Attributes 'Version and 'Body_Version
Date: Wed, 7 Nov 2001 11:45:02 -0500
Date: 2001-11-07T16:45:02+00:00	[thread overview]
Message-ID: <9sboee$42f$1@nh.pace.co.uk> (raw)
In-Reply-To: 9sbb1f$2bm$1@plutonium.btinternet.com

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" <tonygair@donot.spam.btinternet.com> 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.






  reply	other threads:[~2001-11-07 16:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 20:58 Attributes 'Version and 'Body_Version Marin David Condic
2001-11-07  3:39 ` Robert Dewar
2001-11-07 15:08   ` Marin David Condic
2001-11-07 20:51   ` Tony Gair
2001-11-07 16:45     ` Marin David Condic [this message]
2001-11-07 18:32       ` Vincent Marciante
2001-11-07 19:00         ` Marin David Condic
2001-11-07 23:11           ` Robert Dewar
2001-11-08 17:28             ` Stephen Leake
2001-11-08 17:43               ` Larry Kilgallen
2001-11-08 19:03                 ` Marin David Condic
2001-11-08 19:37                   ` Larry Kilgallen
2001-11-09  3:50                   ` Robert Dewar
2001-11-09  3:55                   ` Robert Dewar
2001-11-08 18:55             ` Marin David Condic
2001-11-07 19:54       ` Larry Kilgallen
2001-11-07 21:49         ` Marin David Condic
2001-11-07 23:08     ` Robert Dewar
2001-11-07 22:04 ` Keith Thompson
2001-11-08 16:34   ` Frank
2001-11-09  3:53   ` Robert Dewar
2001-11-10  0:07     ` Keith Thompson
2001-11-10  2:16       ` Larry Kilgallen
2001-11-11 15:18         ` Marin David Condic
2001-11-12 23:06           ` Tony Gair
2001-11-12 21:51       ` Robert Dewar
2001-11-13  8:07         ` Keith Thompson
2001-11-25 20:49           ` Nick Roberts
2001-11-26  2:30             ` Robert Dewar
2001-11-26  3:31               ` Nick Roberts
2001-11-26 15:42                 ` Robert Dewar
2001-11-26 20:05                   ` Nick Roberts
2001-11-27  3:56                     ` Robert Dewar
2001-11-27 17:51                       ` Nick Roberts
2001-11-28  0:44                       ` Larry Kilgallen
2001-11-28 15:49                         ` Robert Dewar
2001-11-28 16:53                         ` Larry Kilgallen
     [not found]                         ` <5ee5b646.0111280749.77fabe6c@posting.google.coOrganization: LJK Software <PFcoNrf74AeG@eisner.encompasserve.org>
2001-11-29  3:49                           ` Robert Dewar
2001-11-29 11:52                           ` Larry Kilgallen
     [not found]                           ` <5ee5b646.0111Organization: LJK Software <Kg7U2sTGDFyI@eisner.encompasserve.org>
2001-11-30  2:26                             ` Robert Dewar
2001-11-30  2:55                               ` Larry Kilgallen
2001-11-27 17:04                     ` Georg Bauhaus
replies disabled

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