<?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: advance =no in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748037#M5364</link>
    <description>What you can do is use the $ or  edit descriptors instead of non-advancing IO:&lt;BR /&gt;&lt;BR /&gt;write(*,'(a20,$)') "checking ..."&lt;BR /&gt;&lt;BR /&gt;to accomplish what you are after.&lt;BR /&gt;&lt;BR /&gt;The FRTL does recognize a transistion from write to read and will flush the line buffer at the transition. This so that one can do this:&lt;BR /&gt;&lt;BR /&gt;write(*,'(a)',advance='no') "enter the number of elements-&amp;gt; "&lt;BR /&gt;read(*,*) i&lt;BR /&gt;&lt;BR /&gt;So that one can create prompts.&lt;BR /&gt;&lt;BR /&gt;In the case of write following write, the FRTL assumes that the user is formatting a complete line using multiple write operations. And again, it waits for the final end-of-line OR $  edit descriptors before flushing the buffer.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;</description>
    <pubDate>Mon, 12 May 2008 14:39:32 GMT</pubDate>
    <dc:creator>Ron_Green</dc:creator>
    <dc:date>2008-05-12T14:39:32Z</dc:date>
    <item>
      <title>advance =no</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748035#M5362</link>
      <description>Dear friends,&lt;BR /&gt;while i am running thi following code,&lt;BR /&gt; 1 implicit none&lt;BR /&gt; 2 write(*,'(a20)',advance='no')"checking .."&lt;BR /&gt; 3 call sleep(2)&lt;BR /&gt; 4 write(*,*) "checked"&lt;BR /&gt; 5 end&lt;BR /&gt;&lt;BR /&gt;i would expect the program to write   "checking .." then wait for 2 sec and the write "checked" in the same line.&lt;BR /&gt;instead its waiting for two second and writing the whole thing in one go!!! why? am i missing some thing?&lt;BR /&gt;thnx in advance&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2008 13:45:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748035#M5362</guid>
      <dc:creator>roddur</dc:creator>
      <dc:date>2008-05-12T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: advance =no</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748036#M5363</link>
      <description>The runtime library buffers an entire line for stdout. Thus, until the end of line is written, the output is not sent to stdout.&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2008 14:02:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748036#M5363</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2008-05-12T14:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: advance =no</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748037#M5364</link>
      <description>What you can do is use the $ or  edit descriptors instead of non-advancing IO:&lt;BR /&gt;&lt;BR /&gt;write(*,'(a20,$)') "checking ..."&lt;BR /&gt;&lt;BR /&gt;to accomplish what you are after.&lt;BR /&gt;&lt;BR /&gt;The FRTL does recognize a transistion from write to read and will flush the line buffer at the transition. This so that one can do this:&lt;BR /&gt;&lt;BR /&gt;write(*,'(a)',advance='no') "enter the number of elements-&amp;gt; "&lt;BR /&gt;read(*,*) i&lt;BR /&gt;&lt;BR /&gt;So that one can create prompts.&lt;BR /&gt;&lt;BR /&gt;In the case of write following write, the FRTL assumes that the user is formatting a complete line using multiple write operations. And again, it waits for the final end-of-line OR $  edit descriptors before flushing the buffer.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2008 14:39:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748037#M5364</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2008-05-12T14:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: advance =no</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748038#M5365</link>
      <description>thnx...it is working    &lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2008 17:26:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/advance-no/m-p/748038#M5365</guid>
      <dc:creator>roddur</dc:creator>
      <dc:date>2008-05-12T17:26:49Z</dc:date>
    </item>
  </channel>
</rss>

