home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18341 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.4 KB  |  45 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!ub4b!sunbim!usenet
  3. From: accs1@bagheera.mumath
  4. Subject: Re: Version Strings...
  5. Message-ID: <1993Jan8.111612.25180@sunbim.be>
  6. Sender: usenet@sunbim.be (user news)
  7. Reply-To: accs1@bagheera.mumath
  8. Organization: Sun Microsystems
  9. References: <S37732V.93Jan7184001@lk-hp-16.hut.fi>
  10. Date: Fri, 8 Jan 93 11:16:12 GMT
  11. Lines: 32
  12.  
  13.  
  14. In article 93Jan7184001@lk-hp-16.hut.fi, s37732v@snakemail.hut.fi (Markus Juhani Aalto) writes:
  15. >In article <Leon.0byx@abcd.Houghton.MI.US> Leon@abcd.Houghton.MI.US (Leon) writes:
  16. >
  17. >   Can anyone give me a code fragment to insert a version string in my program
  18. >   so that the AmigaDOS version program will detect it?
  19. >
  20. >   Thanks MUCH...
  21. >
  22. >   Bi Bi...
  23. >
  24. >   \Leon
  25. >
  26. >   -- Via DLG Pro v0.995
  27. >
  28. >   ______________________________________________________________________
  29. >   |  o__ ----       \\ABCD///Amiga BitSwap Central Dispatch - DLG BB/OS!
  30. >   | _.>/ _-------    \\BBS// 16K8bps - 3 Lines! - Fido/UUCP(906)482-8248
  31. >   |(_) \(_)Leon Shaner\\\// <leon@abcd.houghton.mi.us> or <leon@mtu.edu>
  32. >   |________[MTU - CTS] \\/  ...Non-Conformity is a virtue I hold dear...
  33. >
  34. >------clip here--------------------
  35. >
  36. >UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
  37. >
  38. >------clip here--------------------
  39. >
  40.  
  41. I wonder why that stays in the executable. I would expect a good compiler would 
  42. through that line away unless it is really referenced.
  43.  
  44. Frank
  45.