[futurebasic] Re: [FB] Keeping track of version number

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Wed, 20 Jan 1999 20:25:32 -0600

Lucy24@... wrote:

> I've always maintained two _separate_ version numbers.
> (snip)
> The second, stored as a "gameVersion$" variable, changes incrementally ("002"
> to "003") each time I make _any_ change that affects saved games.

I've found this to be an excellent idea.  In addition, I put lines like the
following in my program (which may be the program that created the "Game file,"
or may be another program that reads the "Game file":

_minGameVersion = 2
_maxGameVersion = 5

These numbers, which may or may not change as the program version changes,
indicate the range of game file versions that this version of the program is able
to process correctly.  An alert goes up if the program reads a game file that
falls outside of that range.

- Rick