home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12965 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.6 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!uwm.edu!ogicse!reed!henson!news.u.washington.edu!nntp.uoregon.edu!eric_gorr@coglab_psych.uoregon.edu
  2. From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Help a beginner programmer
  5. Message-ID: <1992Jul23.225348.22451@nntp.uoregon.edu>
  6. Date: 23 Jul 92 22:53:48 GMT
  7. Article-I.D.: nntp.1992Jul23.225348.22451
  8. References: <1992Jul23.210503.13778@nntp.uoregon.edu>
  9. Sender: news@nntp.uoregon.edu
  10. Distribution: usa
  11. Organization: University of Oregon Network Services
  12. Lines: 40
  13.  
  14.  
  15. Forgot one thing...I am using THINK C 5.0.
  16.  
  17. In article <1992Jul23.210503.13778@nntp.uoregon.edu>,
  18. eric_gorr@coglab_psych.uoregon.edu (Eric Gorr) writes:
  19. > I've been trying to figure this out, but my understanding of the toolbox
  20. > routines isn't that good yet.
  21. > What I am looking for is a procedure that will accept two files names of
  22. > files that are text only.
  23. > What the procedure needs to do is read FILE #1 and when it hits a line that
  24. > only contains $$INSERT <path:file name> (or something of that nature) will
  25. > then open <path:file name> and will replace $$INSERT <path:file name> with
  26. > the lines of text in <path:file name>.  <path:file name> only contains
  27. > text.  The result of these operation will be saved in FILE #2.  It should
  28. > be able to handle multiple $$INSERT occurances in FILE #1.
  29. > So, for example:  
  30. > FILE #1:
  31. > aaaaaaaa
  32. > $$INSERT my_file
  33. > bbbbbbbb
  34. > my_file:
  35. > cccccccc
  36. > FILE #2:
  37. > aaaaaaaa
  38. > cccccccc
  39. > bbbbbbbb
  40. > Any help would be appreciated....
  41. > thanx..
  42.