home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18419 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.2 KB

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