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 10:08:16 -0500
Date: 2001-11-07T15:08:18+00:00	[thread overview]
Message-ID: <9sbip2$1dl$1@nh.pace.co.uk> (raw)
In-Reply-To: 5ee5b646.0111061939.595b61be@posting.google.com

I don't recall ever saying that the RM gave me the idea that I could do
anything but compare the two version numbers for equality. I think what I
said was that having discovered these strings, I might conceivably find some
use for them in identifying software versions in a manner that would be
dependent on the particular implementation - assuming one knew how those
numbers got built.

For example: Suppose you wrote a class that wants to store/load its data
to/from a file. Suppose that part of what it wrote to that file was the
version string. On reading the version string back in, it is possible for
the class to detect if it is consistent with the content of the file.
However, it might be more useful if it can detect some sequence to those
version strings so that it might be able to say "This file was created two
versions ago" or "This file was created by one version later than I am..."
and make intelligent decisions about what content to read in. I could
imagine how an implementation might have information coded in the strings
that might make it possible to determine lots of things about compatibility.
I could also imagine how some implementation defined pragmas might just be
able to add additional information to the string that might let the user
provide some compatibility information. So knowing how the strings change
and what can be detected from their content might just be useful
information - implementation dependent, but useful.

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/


"Robert Dewar" <dewar@gnat.com> wrote in message
news:5ee5b646.0111061939.595b61be@posting.google.com...
>
> What in the RM gives you the slightest idea that you
> can expect to do anything more than compare two version
> numbers?





  reply	other threads:[~2001-11-07 15:08 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 [this message]
2001-11-07 20:51   ` Tony Gair
2001-11-07 16:45     ` Marin David Condic
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