home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!flop.ENGR.ORST.EDU!brindley
- From: brindley@maxwell.ECE.ORST.EDU (Mike Brindley)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Version Strings...
- Message-ID: <1in6s9INNnhl@flop.ENGR.ORST.EDU>
- Date: 9 Jan 93 18:51:53 GMT
- References: <Leon.0byx@abcd.Houghton.MI.US> <C0HyvD.D5z@DMI.USherb.CA>
- Organization: Society for Putting Things on Top of Other Things
- Lines: 20
- NNTP-Posting-Host: maxwell.ece.orst.edu
-
- In article <C0HyvD.D5z@DMI.USherb.CA> vailm00@DMI.USherb.CA (MARC VAILLANCOURT) writes:
- >-> Can anyone give me a code fragment to insert a version string in
- >-> my program so that the AmigaDOS version program will detect it?
- >
- > No problem, here is an example:
- >
- >static char *VerString = "$VER: Hyper-Snake 0.95 (29.10.92)";
-
- This may be obvious, but here goes anyway :)
-
- Please make sure that the version string is near the beginning of the
- executable, so that the version command can quickly find it. This can
- normally be achieved by placing the code above (or similar code) at
- the top of one of the programs modules, and then making that module the
- first one in the link command.
-
-
- --
- --> Mike Brindley
- brindley@ece.orst.edu
-