<?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 Reading Textfile format conventions problem in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795317#M34873</link>
    <description>I'd like to learn from this post but the classroom is clouded by an imperfect posit. The data file line is claimed to consist of&lt;BR /&gt;&lt;BR /&gt;"anonymouseID,7564"&lt;BR /&gt;&lt;BR /&gt;but are the quotes included or not? The explanation given seems to infer that they are not and so it consists of two items, anonymouseID and 7564.&lt;BR /&gt;&lt;BR /&gt;If the quotes are included (which I would have inferred), then I think it consists of one item, a 17-character string, which should have been read in its entirety.</description>
    <pubDate>Sat, 12 Nov 2011 20:17:11 GMT</pubDate>
    <dc:creator>dboggs</dc:creator>
    <dc:date>2011-11-12T20:17:11Z</dc:date>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795313#M34869</link>
      <description>I have a problem to read a text-file &lt;BR /&gt;The Textfile contains the Line "anonymouseID,7564"&lt;BR /&gt;The problem ist, that my read reads only "anonymouseID".&lt;BR /&gt;I know, that Fortran interpretes the , as a separator of data fields.&lt;BR /&gt;So what I want is to read the whole line, how can I manage this ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I open a text-file with&lt;BR /&gt;&lt;BR /&gt;character(256) line&lt;BR /&gt;&lt;BR /&gt;OPEN(UNIT=file_id, FILE=filename, status='OLD', iostat=iErr) &lt;BR /&gt;read(file_id,*,err=10, end=20) line ! read one line &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2011 15:45:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795313#M34869</guid>
      <dc:creator>jaeger0</dc:creator>
      <dc:date>2011-11-10T15:45:11Z</dc:date>
    </item>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795314#M34870</link>
      <description>That's what you get if you use list-directed input. Instead, do&lt;BR /&gt;&lt;BR /&gt; read(file_id,'(A)',err=10, end=20) line ! read one line &lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2011 15:54:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795314#M34870</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-11-10T15:54:22Z</dc:date>
    </item>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795315#M34871</link>
      <description>Just to clarify.&lt;BR /&gt;"List directed" (i.e. the * format),says that what is read from the file is determined by the the number of items &lt;EM&gt;in the list.&lt;/EM&gt; You haveONE item in the list, your character variable "line". The record containsTWO items so the first one is read into "line" the second item is ignored.&lt;BR /&gt;&lt;BR /&gt;Les</description>
      <pubDate>Fri, 11 Nov 2011 08:01:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795315#M34871</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2011-11-11T08:01:27Z</dc:date>
    </item>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795316#M34872</link>
      <description>Further clarification:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; &lt;I&gt;the number of items&lt;/I&gt; &lt;I&gt;in the list&lt;/I&gt;&lt;BR /&gt;   ^&lt;BR /&gt; comma-separated</description>
      <pubDate>Fri, 11 Nov 2011 09:03:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795316#M34872</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-11-11T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795317#M34873</link>
      <description>I'd like to learn from this post but the classroom is clouded by an imperfect posit. The data file line is claimed to consist of&lt;BR /&gt;&lt;BR /&gt;"anonymouseID,7564"&lt;BR /&gt;&lt;BR /&gt;but are the quotes included or not? The explanation given seems to infer that they are not and so it consists of two items, anonymouseID and 7564.&lt;BR /&gt;&lt;BR /&gt;If the quotes are included (which I would have inferred), then I think it consists of one item, a 17-character string, which should have been read in its entirety.</description>
      <pubDate>Sat, 12 Nov 2011 20:17:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795317#M34873</guid>
      <dc:creator>dboggs</dc:creator>
      <dc:date>2011-11-12T20:17:11Z</dc:date>
    </item>
    <item>
      <title>Reading Textfile format conventions problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795318#M34874</link>
      <description>&lt;I&gt;&amp;gt; If the quotes are included, then I think 
it consists of one item, a 17-character string, which should have been 
read in its entirety.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, indeed. That is why, had the quotes been present in the input data file, the original poster would not have had any reason to start this thread.</description>
      <pubDate>Sun, 13 Nov 2011 03:44:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Reading-Textfile-format-conventions-problem/m-p/795318#M34874</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-11-13T03:44:20Z</dc:date>
    </item>
  </channel>
</rss>

