home *** CD-ROM | disk | FTP | other *** search
- 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
- From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Help a beginner programmer
- Message-ID: <1992Jul23.225348.22451@nntp.uoregon.edu>
- Date: 23 Jul 92 22:53:48 GMT
- Article-I.D.: nntp.1992Jul23.225348.22451
- References: <1992Jul23.210503.13778@nntp.uoregon.edu>
- Sender: news@nntp.uoregon.edu
- Distribution: usa
- Organization: University of Oregon Network Services
- Lines: 40
-
-
- Forgot one thing...I am using THINK C 5.0.
-
- In article <1992Jul23.210503.13778@nntp.uoregon.edu>,
- eric_gorr@coglab_psych.uoregon.edu (Eric Gorr) writes:
- >
- > I've been trying to figure this out, but my understanding of the toolbox
- > routines isn't that good yet.
- >
- > What I am looking for is a procedure that will accept two files names of
- > files that are text only.
- >
- > What the procedure needs to do is read FILE #1 and when it hits a line that
- > only contains $$INSERT <path:file name> (or something of that nature) will
- > then open <path:file name> and will replace $$INSERT <path:file name> with
- > the lines of text in <path:file name>. <path:file name> only contains
- > text. The result of these operation will be saved in FILE #2. It should
- > be able to handle multiple $$INSERT occurances in FILE #1.
- >
- > So, for example:
- >
- > FILE #1:
- > aaaaaaaa
- > $$INSERT my_file
- > bbbbbbbb
- >
- > my_file:
- > cccccccc
- >
- > FILE #2:
- > aaaaaaaa
- > cccccccc
- > bbbbbbbb
- >
- > Any help would be appreciated....
- >
- > thanx..
- >
- >
- >
-