<?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   in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017190#M107315</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;OPEN(15+(scen_loop*par_loop),file='..\..\..\testbank\'//trim(scen(scen_loop))// &amp;amp;&lt;BR /&gt;
	'\mapresultat_'//trim(scen(scen_loop))// &amp;amp;&lt;BR /&gt;
	'_'//trim(parameters(par_loop))//'.txt' &amp;amp;&lt;BR /&gt;
	,status='unknown',form='formatted')&lt;/P&gt;

&lt;P&gt;WRITE (15+(scen_loop*par_loop),155)&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;(string_date_array(I), char(9), I=1,365000)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;155 format ('%ID',' ',365000(a10,a2)&lt;/P&gt;

&lt;P&gt;The "a2" was a attempt to describe a tab. I started with&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;365000(a10,a). &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;If I remove char(9) in the WRITE statement and uses&amp;nbsp;365000(a12) it works now. But what if I like to write integers instead? In that case I can't add the two extra spaces after the string.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2014 10:52:07 GMT</pubDate>
    <dc:creator>Johanna_B_</dc:creator>
    <dc:date>2014-10-08T10:52:07Z</dc:date>
    <item>
      <title>Too long row?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017187#M107312</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I'm trying to write the dates (yyyy-mm-dd) from 99 years into one singel row in a textfile.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By:&lt;/P&gt;

&lt;P&gt;WRITE (15,155)(string_date_array(I), char(9), I=1,365000)&lt;/P&gt;

&lt;P&gt;155 format ('%ID',' ',365000a10,a2))&lt;/P&gt;

&lt;P&gt;But after a while the dates starts to write to line number 2 in the texfile. Is their any limits of the length of the row? How can I get around it?&lt;/P&gt;

&lt;P&gt;All the dates has to be in the same row.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017187#M107312</guid>
      <dc:creator>Johanna_B_</dc:creator>
      <dc:date>2014-10-08T08:56:01Z</dc:date>
    </item>
    <item>
      <title>Try using formatted stream</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017188#M107313</link>
      <description>&lt;P&gt;Try using formatted stream output - OPEN(... FORM='FORMATTED', ACCESS='STREAM', ...)&lt;/P&gt;

&lt;P&gt;Check the syntax of your FORMAT - are you missing an opening parenthesis and what is the a2 doing on the end?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:58:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017188#M107313</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2014-10-08T09:58:55Z</dc:date>
    </item>
    <item>
      <title>Please post your OPEN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017189#M107314</link>
      <description>&lt;P&gt;Please post your OPEN statement for the file in question.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:59:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017189#M107314</guid>
      <dc:creator>Anthony_Richards</dc:creator>
      <dc:date>2014-10-08T09:59:16Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017190#M107315</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;OPEN(15+(scen_loop*par_loop),file='..\..\..\testbank\'//trim(scen(scen_loop))// &amp;amp;&lt;BR /&gt;
	'\mapresultat_'//trim(scen(scen_loop))// &amp;amp;&lt;BR /&gt;
	'_'//trim(parameters(par_loop))//'.txt' &amp;amp;&lt;BR /&gt;
	,status='unknown',form='formatted')&lt;/P&gt;

&lt;P&gt;WRITE (15+(scen_loop*par_loop),155)&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;(string_date_array(I), char(9), I=1,365000)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;155 format ('%ID',' ',365000(a10,a2)&lt;/P&gt;

&lt;P&gt;The "a2" was a attempt to describe a tab. I started with&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;365000(a10,a). &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;If I remove char(9) in the WRITE statement and uses&amp;nbsp;365000(a12) it works now. But what if I like to write integers instead? In that case I can't add the two extra spaces after the string.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 10:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017190#M107315</guid>
      <dc:creator>Johanna_B_</dc:creator>
      <dc:date>2014-10-08T10:52:07Z</dc:date>
    </item>
    <item>
      <title>Hello</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017191#M107316</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;use 365000(i12) or&lt;/P&gt;

&lt;P&gt;use 365000(i10,2x) to be sure to have two spaces after the number&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:25:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017191#M107316</guid>
      <dc:creator>GVautier</dc:creator>
      <dc:date>2014-10-08T11:25:04Z</dc:date>
    </item>
    <item>
      <title>Text files are subject to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017192#M107317</link>
      <description>&lt;P&gt;Text files are subject to some limitations and expectations. One expectation is that they should be suitable for reading by a person. At 6 characters per inch your file, printed on paper, would require a sheet of paper so long as to extend beyond the right edge of my laptop, past my neighbor's backyard and into a neighborhood that I would hesitate to enter at night -- 11 miles (about 18 km) away. Do you really need that file to be a formatted file?&lt;/P&gt;

&lt;P&gt;That said, are you aware of the nX format descriptor, which allows you to enter any number of blanks into an output line, but without needing to have any corresponding items in the I/O list? For integers, about which you asked, you could use a format of 365000*(2x,I10) or even 365000*I12. If the field width specified (e.g., 12 in "I12") is longer than needed for the number being formatted, the output is right-justified within the field and padded at the left with blanks.&lt;/P&gt;

&lt;P&gt;Fortran 2008 allows you to use an 'unlimited' repeat count specifier, as in "*I12", see&amp;nbsp;https://software.intel.com/en-us/node/510350 .&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017192#M107317</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-10-08T11:28:00Z</dc:date>
    </item>
    <item>
      <title>I can see the point of using</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017193#M107318</link>
      <description>&lt;P&gt;I can see the point of using formatted instead. I will look up if that's a opportunity.&lt;/P&gt;

&lt;P&gt;It´s works fine using &amp;nbsp;365000I12 (But still 365000(2x,I10) does not works, in fact, even 365000(I12) won't work).&lt;/P&gt;

&lt;P&gt;Thank you all! &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:09:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Too-long-row/m-p/1017193#M107318</guid>
      <dc:creator>Johanna_B_</dc:creator>
      <dc:date>2014-10-08T12:09:38Z</dc:date>
    </item>
  </channel>
</rss>

