From: | Joar Sivertsen |
Date: | 22 Dec 99 at 10:30:05 |
Subject: | Re: Version String, CPU detection |
From: Joar Sivertsen <jsiv@start.no>
On 22-Des-99, Fritsch Alexander wrote:
> 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?
You might want to try
char versiontag[] = "\0$VER: af_mksstv 0.1 "__AMIGADATE__;
This will automatically set the date string to the current
date (at build-time).