<?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 Re: determining the number of readed values in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792557#M33420</link>
    <description>&lt;P&gt;Assuming your lines are of a reasonable length I'd read the line into a string long enough to hold your longest expected line&lt;/P&gt;
&lt;P&gt;If you have no seperators the number of values is simply obtained from the length of the string trimmed to remove white space at the end divided by the size of your value.&lt;/P&gt;
&lt;P&gt;If you have seperators - commas, spaces whatever count them, the number of values will be the same as your count if there is a seperator after the final value or 1 more if not&lt;/P&gt;
&lt;P&gt;You can then use internal IO to convert obtain the values from the string&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2006 00:31:18 GMT</pubDate>
    <dc:creator>greldak</dc:creator>
    <dc:date>2006-07-13T00:31:18Z</dc:date>
    <item>
      <title>determining the number of readed values</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792555#M33418</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;in a text file each line contains an arbitrary number of values. I would like to read this file line by line and determining the number ofvalues in every line.&lt;/P&gt;
&lt;P&gt;Does anyone know a simple method for this problem.&lt;/P&gt;
&lt;P&gt;Thanx in advance.&lt;/P&gt;
&lt;P&gt;dnoack&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2006 23:24:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792555#M33418</guid>
      <dc:creator>dnoack</dc:creator>
      <dc:date>2006-07-12T23:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: determining the number of readed values</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792556#M33419</link>
      <description>&lt;P&gt;Look in the documentation regarding nonadvancing I/O (ADVANCE='NO')and use of EOR=nnn or IOSTAT=iStatus.&lt;/P&gt;
&lt;P&gt;Or, depending on your data, you could preload your input arraywith a value that will never be in your input. After reading a record check for your preload value.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2006 23:46:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792556#M33419</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2006-07-12T23:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: determining the number of readed values</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792557#M33420</link>
      <description>&lt;P&gt;Assuming your lines are of a reasonable length I'd read the line into a string long enough to hold your longest expected line&lt;/P&gt;
&lt;P&gt;If you have no seperators the number of values is simply obtained from the length of the string trimmed to remove white space at the end divided by the size of your value.&lt;/P&gt;
&lt;P&gt;If you have seperators - commas, spaces whatever count them, the number of values will be the same as your count if there is a seperator after the final value or 1 more if not&lt;/P&gt;
&lt;P&gt;You can then use internal IO to convert obtain the values from the string&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2006 00:31:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/determining-the-number-of-readed-values/m-p/792557#M33420</guid>
      <dc:creator>greldak</dc:creator>
      <dc:date>2006-07-13T00:31:18Z</dc:date>
    </item>
  </channel>
</rss>

