<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Merging Files in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Merging-Files/m-p/954948#M20570</link>
    <description>I would like to know how to include a file inside another file. The  &lt;BR /&gt;program that I am trying to write is something as follows  &lt;BR /&gt;  &lt;BR /&gt;Open (unit=10, file="output.txt", status='unknown')  &lt;BR /&gt;Open (unit=20, file="FileA", status='old')  &lt;BR /&gt;  &lt;BR /&gt;OuterLoop: do i = 1, 20  &lt;BR /&gt;  &lt;BR /&gt;    write(10,*)i  &lt;BR /&gt;   !I would like to include the complete contents of FileA here  &lt;BR /&gt;    write(10,*)i,i,i  &lt;BR /&gt;  &lt;BR /&gt;Endo OuterLoop  &lt;BR /&gt;  &lt;BR /&gt;close(10)  &lt;BR /&gt;close(20)  &lt;BR /&gt;  &lt;BR /&gt;My question is how do I include the contents of FileA inside the file  &lt;BR /&gt;output.txt  &lt;BR /&gt;Thank you very much  &lt;BR /&gt;  &lt;BR /&gt;...Animesh</description>
    <pubDate>Tue, 19 Jun 2001 03:15:20 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-06-19T03:15:20Z</dc:date>
    <item>
      <title>Merging Files</title>
      <link>https://community.intel.com/t5/Software-Archive/Merging-Files/m-p/954948#M20570</link>
      <description>I would like to know how to include a file inside another file. The  &lt;BR /&gt;program that I am trying to write is something as follows  &lt;BR /&gt;  &lt;BR /&gt;Open (unit=10, file="output.txt", status='unknown')  &lt;BR /&gt;Open (unit=20, file="FileA", status='old')  &lt;BR /&gt;  &lt;BR /&gt;OuterLoop: do i = 1, 20  &lt;BR /&gt;  &lt;BR /&gt;    write(10,*)i  &lt;BR /&gt;   !I would like to include the complete contents of FileA here  &lt;BR /&gt;    write(10,*)i,i,i  &lt;BR /&gt;  &lt;BR /&gt;Endo OuterLoop  &lt;BR /&gt;  &lt;BR /&gt;close(10)  &lt;BR /&gt;close(20)  &lt;BR /&gt;  &lt;BR /&gt;My question is how do I include the contents of FileA inside the file  &lt;BR /&gt;output.txt  &lt;BR /&gt;Thank you very much  &lt;BR /&gt;  &lt;BR /&gt;...Animesh</description>
      <pubDate>Tue, 19 Jun 2001 03:15:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Merging-Files/m-p/954948#M20570</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-06-19T03:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Files</title>
      <link>https://community.intel.com/t5/Software-Archive/Merging-Files/m-p/954949#M20571</link>
      <description>I'm not sure if this is what you're looking for, but in my experience with files, you need to read FileA to a variable and then write that variable to your output file.  The variable can be formatted any way you need, or written entirely as a string. &lt;BR /&gt; &lt;BR /&gt;I hope this helped you out. &lt;BR /&gt; &lt;BR /&gt;hnnhjo</description>
      <pubDate>Wed, 27 Jun 2001 03:04:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Merging-Files/m-p/954949#M20571</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-06-27T03:04:12Z</dc:date>
    </item>
  </channel>
</rss>

