C (147/207)

From:Duane McDonnell
Date:22 Dec 99 at 15:41:40
Subject:Re: Re: Version String, CPU detection

From: Duane McDonnell <dmcdonnell@primus.com.au>

>From: Colin Wenzel <colstv@hotkey.net.au>

>On 22-Dec-99, Fritsch Alexander wrote:
>> From: Fritsch Alexander <Alexander.Fritsch@icn.siemens.de>
>> Hello,
>> could someone tell me how the format of a version string has to be? I
>> found an example somewhere on Developer Disk 1.2 and used the
>> following line in my c-program:
>>
>> char versiontag[] = "\0$VER: af_mksstv 0.1 (19.12.1999)";
>> The name of the program is af_mksstv, the version should be 0.1 and
>> the date of the source is Dec 19th 1999. When I type
>>
>> version af_mksstv FULL
>> I see
>> af_mksstv 0.1 (15.07.94)
>> So whats wrong here?

>Use the international format, month in letters,
>because the americans do most things
>differently to the rest of us......

>char verstion[]="$VER: progfilename 1.0 (19.Dec.1999)";

You can't just do what you feel like if it doesn't conform to your
liking. It needs to be numerical so that it can be parsed correctly,
not written in your local language.