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

  1. Path: sparky!uunet!gatech!rpi!usc!sol.ctr.columbia.edu!eff!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!augs!Per_Salmi
  2. From: Per_Salmi@augs.se (Per Salmi)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Version Strings...
  5. Message-ID: <Per_Salmi.0lxs@augs.se>
  6. Date: 8 Jan 93 17:15:05 GMT
  7. References: <1993Jan8.111612.25180@sunbim.be>
  8. Organization: Amiga User Group - Sweden
  9. Lines: 31
  10. X-Newsreader: TIN [version 1.1 PL6]
  11.  
  12. accs1@bagheera.mumath wrote:
  13. : In article 93Jan7184001@lk-hp-16.hut.fi, s37732v@snakemail.hut.fi (Markus Juhani Aalto) writes:
  14. : >In article <Leon.0byx@abcd.Houghton.MI.US> Leon@abcd.Houghton.MI.US (Leon) writes:
  15. : >
  16. : >   Can anyone give me a code fragment to insert a version string in my program
  17. : >   so that the AmigaDOS version program will detect it?
  18. : >
  19. : >
  20. : >------clip here--------------------
  21. : >
  22. : >UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
  23. : >
  24. : >------clip here--------------------
  25. : >
  26. : I wonder why that stays in the executable. I would expect a good compiler would 
  27. : through that line away unless it is really referenced.
  28. : Frank
  29.  
  30. You really got a point there! Why does it? 
  31.  
  32.  
  33.  
  34. --
  35. ***************************************************************************
  36. * Per Salmi, phone: +46-13-172267                  * Computer Science &   *
  37. * snail-mail: Bjkg 15B:12, 58251 Linkoping, Sweden * Engineering, LiTH    *
  38. * e-mail: salmi@augs.se or d89persa@und.ida.liu.se *                      *
  39. ***************************************************************************
  40.