<?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: Read ASCII File with QuickWIN (CVF) and write it in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870680#M72027</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/433404"&gt;kaffee46&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi to everybody,&lt;BR /&gt;&lt;BR /&gt;i am building a QuickWIN Application and at the moment i am trying to read in a ASCII-File (*.txt).&lt;BR /&gt;The file looks like this:&lt;BR /&gt;&lt;BR /&gt;Tiefe cC   Hrte RA &lt;BR /&gt;0.000 0.706 63.445 5.125&lt;BR /&gt;0.016 0.707 63.417 5.189&lt;BR /&gt;0.032 0.709 63.388 5.254&lt;BR /&gt;0.048 0.711 63.360 5.319&lt;BR /&gt;0.064 0.713 63.331 5.385&lt;BR /&gt;0.080 0.714 63.302 5.450&lt;BR /&gt;0.096 0.716 63.274 5.516&lt;BR /&gt;0.112 0.717 63.245 5.582&lt;BR /&gt;0.128 0.719 63.216 5.648&lt;BR /&gt;0.144 0.721 63.187 5.713&lt;BR /&gt;0.160 0.722 63.159 5.779&lt;BR /&gt;&lt;BR /&gt;For me interesting is only column one and two (Tiefe and Cc).&lt;BR /&gt;&lt;BR /&gt;I tried to use an existing code of an example application, but unfortunately it does not work.&lt;BR /&gt;There is no error when building the program, but the screen is empty...&lt;BR /&gt;&lt;BR /&gt;Find below my code for "reading the file" and the subroutine to write the ASCII-File to the screen.&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ImportAscii( checked )&lt;BR /&gt;USE ImportAsciiGeneral &lt;BR /&gt;USE COMDLG32&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt;LOGICAL checked&lt;BR /&gt;INTEGER ind&lt;BR /&gt;&lt;BR /&gt;CALL ImportAsciiOpenFileNameStruktur('Whle zu ladende Ergebnisdatei'C )&lt;BR /&gt;IF ( GetOpenFileName( OF ) ) THEN ! OK , Cancel?&lt;BR /&gt;! Read Data&lt;BR /&gt;OPEN (FUNIT, FILE=TxtFile)&lt;BR /&gt;DO ind = 1, dimV &lt;BR /&gt;READ (FUNIT,*) ! xV(ind), yV(ind) &lt;BR /&gt;END DO&lt;BR /&gt;CLOSE (FUNIT)&lt;BR /&gt;! Show Data&lt;BR /&gt;CALL ZeigeErgebnisse&lt;BR /&gt;END IF&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;FIND HERE THE SUBROUTINE "ZeigeErgebnisse"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ZeigeErgebnisse&lt;BR /&gt;USE ImportAsciiGeneral &lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;INTEGER ind&lt;BR /&gt;&lt;BR /&gt;6000 FORMAT(F20.3,3X,F20.3)&lt;BR /&gt;&lt;BR /&gt;DO ind = 1, dimV&lt;BR /&gt;WRITE(qwUErg, 6000) xV(ind), yV(ind)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;I hope somebody is able give me an advice or correct my code...&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Marco&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Remove the ! from READ(FUNIT,*) !XV(IND), YV(Ind)&lt;BR /&gt;as you have made your variables into a comment!</description>
    <pubDate>Sat, 27 Jun 2009 21:50:49 GMT</pubDate>
    <dc:creator>anthonyrichards</dc:creator>
    <dc:date>2009-06-27T21:50:49Z</dc:date>
    <item>
      <title>Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870679#M72026</link>
      <description>Hi to everybody,&lt;BR /&gt;&lt;BR /&gt;i am building a QuickWIN Application and at the moment i am trying to read in a ASCII-File (*.txt).&lt;BR /&gt;The file looks like this:&lt;BR /&gt;&lt;BR /&gt;Tiefe     cC        Hrte      RA  &lt;BR /&gt; 0.000    0.706   63.445    5.125&lt;BR /&gt; 0.016    0.707   63.417    5.189&lt;BR /&gt; 0.032    0.709   63.388    5.254&lt;BR /&gt; 0.048    0.711   63.360    5.319&lt;BR /&gt; 0.064    0.713   63.331    5.385&lt;BR /&gt; 0.080    0.714   63.302    5.450&lt;BR /&gt; 0.096    0.716   63.274    5.516&lt;BR /&gt; 0.112    0.717   63.245    5.582&lt;BR /&gt; 0.128    0.719   63.216    5.648&lt;BR /&gt; 0.144    0.721   63.187    5.713&lt;BR /&gt; 0.160    0.722   63.159    5.779&lt;BR /&gt;&lt;BR /&gt;For me interesting is only column one and two (Tiefe and Cc).&lt;BR /&gt;&lt;BR /&gt;I tried to use an existing code of an example application, but unfortunately it does not work.&lt;BR /&gt;There is no error when building the program, but the screen is empty...&lt;BR /&gt;&lt;BR /&gt;Find below my code for "reading the file" and the subroutine to write the ASCII-File to the screen.&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ImportAscii( checked )&lt;BR /&gt; USE ImportAsciiGeneral      &lt;BR /&gt;USE COMDLG32&lt;BR /&gt; IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt; LOGICAL checked&lt;BR /&gt; INTEGER ind&lt;BR /&gt;&lt;BR /&gt; CALL ImportAsciiOpenFileNameStruktur('Whle zu ladende Ergebnisdatei'C )&lt;BR /&gt; IF ( GetOpenFileName( OF ) ) THEN	! OK , Cancel?&lt;BR /&gt; ! Read Data&lt;BR /&gt; OPEN (FUNIT, FILE=TxtFile)&lt;BR /&gt; DO ind = 1, dimV                          &lt;BR /&gt; READ (FUNIT,*) ! xV(ind), yV(ind)        &lt;BR /&gt; END DO&lt;BR /&gt; CLOSE (FUNIT)&lt;BR /&gt; ! Show Data&lt;BR /&gt; CALL ZeigeErgebnisse&lt;BR /&gt; END IF&lt;BR /&gt;&lt;BR /&gt; RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;I&gt;FIND HERE THE SUBROUTINE "ZeigeErgebnisse"&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ZeigeErgebnisse&lt;BR /&gt; USE ImportAsciiGeneral       &lt;BR /&gt; IMPLICIT NONE&lt;BR /&gt; INTEGER ind&lt;BR /&gt;&lt;BR /&gt; 6000 FORMAT(F20.3,3X,F20.3)&lt;BR /&gt;&lt;BR /&gt; DO ind = 1, dimV&lt;BR /&gt; WRITE(qwUErg, 6000) xV(ind), yV(ind)&lt;BR /&gt; END DO&lt;BR /&gt;&lt;BR /&gt; RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;I hope somebody is able give me an advice or correct my code...&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Marco&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Jun 2009 11:49:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870679#M72026</guid>
      <dc:creator>kaffee46</dc:creator>
      <dc:date>2009-06-27T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870680#M72027</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/433404"&gt;kaffee46&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi to everybody,&lt;BR /&gt;&lt;BR /&gt;i am building a QuickWIN Application and at the moment i am trying to read in a ASCII-File (*.txt).&lt;BR /&gt;The file looks like this:&lt;BR /&gt;&lt;BR /&gt;Tiefe cC   Hrte RA &lt;BR /&gt;0.000 0.706 63.445 5.125&lt;BR /&gt;0.016 0.707 63.417 5.189&lt;BR /&gt;0.032 0.709 63.388 5.254&lt;BR /&gt;0.048 0.711 63.360 5.319&lt;BR /&gt;0.064 0.713 63.331 5.385&lt;BR /&gt;0.080 0.714 63.302 5.450&lt;BR /&gt;0.096 0.716 63.274 5.516&lt;BR /&gt;0.112 0.717 63.245 5.582&lt;BR /&gt;0.128 0.719 63.216 5.648&lt;BR /&gt;0.144 0.721 63.187 5.713&lt;BR /&gt;0.160 0.722 63.159 5.779&lt;BR /&gt;&lt;BR /&gt;For me interesting is only column one and two (Tiefe and Cc).&lt;BR /&gt;&lt;BR /&gt;I tried to use an existing code of an example application, but unfortunately it does not work.&lt;BR /&gt;There is no error when building the program, but the screen is empty...&lt;BR /&gt;&lt;BR /&gt;Find below my code for "reading the file" and the subroutine to write the ASCII-File to the screen.&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ImportAscii( checked )&lt;BR /&gt;USE ImportAsciiGeneral &lt;BR /&gt;USE COMDLG32&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt;LOGICAL checked&lt;BR /&gt;INTEGER ind&lt;BR /&gt;&lt;BR /&gt;CALL ImportAsciiOpenFileNameStruktur('Whle zu ladende Ergebnisdatei'C )&lt;BR /&gt;IF ( GetOpenFileName( OF ) ) THEN ! OK , Cancel?&lt;BR /&gt;! Read Data&lt;BR /&gt;OPEN (FUNIT, FILE=TxtFile)&lt;BR /&gt;DO ind = 1, dimV &lt;BR /&gt;READ (FUNIT,*) ! xV(ind), yV(ind) &lt;BR /&gt;END DO&lt;BR /&gt;CLOSE (FUNIT)&lt;BR /&gt;! Show Data&lt;BR /&gt;CALL ZeigeErgebnisse&lt;BR /&gt;END IF&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;FIND HERE THE SUBROUTINE "ZeigeErgebnisse"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ZeigeErgebnisse&lt;BR /&gt;USE ImportAsciiGeneral &lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;INTEGER ind&lt;BR /&gt;&lt;BR /&gt;6000 FORMAT(F20.3,3X,F20.3)&lt;BR /&gt;&lt;BR /&gt;DO ind = 1, dimV&lt;BR /&gt;WRITE(qwUErg, 6000) xV(ind), yV(ind)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;I hope somebody is able give me an advice or correct my code...&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Marco&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Remove the ! from READ(FUNIT,*) !XV(IND), YV(Ind)&lt;BR /&gt;as you have made your variables into a comment!</description>
      <pubDate>Sat, 27 Jun 2009 21:50:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870680#M72027</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2009-06-27T21:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870681#M72028</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/341673"&gt;anthonyrichards&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Remove the ! from READ(FUNIT,*) !XV(IND), YV(Ind)&lt;BR /&gt;as you have made your variables into a comment!&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;thanks, but if i do this, the is "Error Window" if i try to open the ASCII File and the program crashes.&lt;BR /&gt;If i only use&lt;BR /&gt;&lt;BR /&gt;READ(FUNIT,*)&lt;BR /&gt;&lt;BR /&gt;the following is shown in the screen:&lt;BR /&gt;&lt;BR /&gt;0.000 0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;0.000   0.000&lt;BR /&gt;&lt;BR /&gt;The values of my ASCII FIle are not shown...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jun 2009 11:38:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870681#M72028</guid>
      <dc:creator>kaffee46</dc:creator>
      <dc:date>2009-06-28T11:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870682#M72029</link>
      <description>&lt;DIV style="margin:0px;"&gt;I think we need to see what is in the module IMPORTASCIIGENERAL as it appearsthat all your variables are declared there.&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jun 2009 18:51:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870682#M72029</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2009-06-28T18:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870683#M72030</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Try this&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;
&lt;PRE&gt;[cpp]program testread&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; INTEGER*4 I,J,TT&lt;BR /&gt; INTEGER*4 NDIS,NLEC,NCON&lt;BR /&gt; REAL*4 TIEFE(1000)&lt;BR /&gt; REAL*4 cC(1000)&lt;BR /&gt; REAL*4 Harte(1000)&lt;BR /&gt; REAL*4 RA(1000)&lt;BR /&gt; J = 0&lt;BR /&gt; NDIS = 1&lt;BR /&gt; OPEN (NDIS, FILE = 'ASCIIDATA.TXT')&lt;BR /&gt;  DO WHILE (.NOT. EOF(1))&lt;BR /&gt;   J = J + 1 &lt;BR /&gt;   READ (1, *) TIEFE(j), cC(J), Harte(j), RA(j)&lt;BR /&gt;   WRITE(NCON,*) cC(j)&lt;BR /&gt;  END DO&lt;BR /&gt; CLOSE(NDIS)&lt;BR /&gt;&lt;BR /&gt;end program testread&lt;BR /&gt;&lt;BR /&gt;[/cpp]&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;ASCIIDATA.txt:&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;0.000 0.706 63.445 5.125&lt;BR /&gt;0.016 0.707 63.417 5.189&lt;BR /&gt;0.032 0.709 63.388 5.254&lt;BR /&gt;0.048 0.711 63.360 5.319&lt;BR /&gt;0.064 0.713 63.331 5.385&lt;BR /&gt;0.080 0.714 63.302 5.450&lt;BR /&gt;0.096 0.716 63.274 5.516&lt;BR /&gt;0.112 0.717 63.245 5.582&lt;BR /&gt;0.128 0.719 63.216 5.648&lt;BR /&gt;0.144 0.721 63.187 5.713&lt;BR /&gt;0.160 0.722 63.159 5.779&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Jun 2009 20:12:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870683#M72030</guid>
      <dc:creator>mavlik</dc:creator>
      <dc:date>2009-06-28T20:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870684#M72031</link>
      <description>if you have the names of the columns in the first row...&lt;BR /&gt;&lt;BR /&gt;program main&lt;BR /&gt; real, dimension(25):: x,y&lt;BR /&gt; integer:: i&lt;BR /&gt; open(unit=33,file='foo.txt',action='read') !...&lt;BR /&gt; i=-1&lt;BR /&gt; do while (.not.eof(33))&lt;BR /&gt; i=i+1&lt;BR /&gt; if (i==0) then&lt;BR /&gt; read(33,*)&lt;BR /&gt; else&lt;BR /&gt; read(33,*) x(i),y(i) !...iostat&lt;BR /&gt; endif&lt;BR /&gt; enddo&lt;BR /&gt;end program&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jun 2009 20:32:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870684#M72031</guid>
      <dc:creator>Luis_Solis</dc:creator>
      <dc:date>2009-06-28T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870685#M72032</link>
      <description>.
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/190386"&gt;mavlik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Try this&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;
&lt;PRE&gt;[cpp]program testread&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; INTEGER*4 I,J,TT&lt;BR /&gt; INTEGER*4 NDIS,NLEC,NCON&lt;BR /&gt; REAL*4 TIEFE(1000)&lt;BR /&gt; REAL*4 cC(1000)&lt;BR /&gt; REAL*4 Harte(1000)&lt;BR /&gt; REAL*4 RA(1000)&lt;BR /&gt; J = 0&lt;BR /&gt; NDIS = 1&lt;BR /&gt; OPEN (NDIS, FILE = 'ASCIIDATA.TXT')&lt;BR /&gt;  DO WHILE (.NOT. EOF(1))&lt;BR /&gt;   J = J + 1 &lt;BR /&gt;   READ (1, *) TIEFE(j), cC(J), Harte(j), RA(j)&lt;BR /&gt;   WRITE(NCON,*) cC(j)&lt;BR /&gt;  END DO&lt;BR /&gt; CLOSE(NDIS)&lt;BR /&gt;&lt;BR /&gt;end program testread&lt;BR /&gt;&lt;BR /&gt;[/cpp]&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;ASCIIDATA.txt:&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;0.000 0.706 63.445 5.125&lt;BR /&gt;0.016 0.707 63.417 5.189&lt;BR /&gt;0.032 0.709 63.388 5.254&lt;BR /&gt;0.048 0.711 63.360 5.319&lt;BR /&gt;0.064 0.713 63.331 5.385&lt;BR /&gt;0.080 0.714 63.302 5.450&lt;BR /&gt;0.096 0.716 63.274 5.516&lt;BR /&gt;0.112 0.717 63.245 5.582&lt;BR /&gt;0.128 0.719 63.216 5.648&lt;BR /&gt;0.144 0.721 63.187 5.713&lt;BR /&gt;0.160 0.722 63.159 5.779&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi and thanks for your replies,&lt;BR /&gt;&lt;BR /&gt;i tried to built the program similar to mavliks "testread", unfortunately it did not work. I think i made some mistakes because i tried to use my subroutine "ZeigeErgebnisse". Mavlik only used "write". Can somebody help me to integrate the "call ZeigeErgebnisse" SUBROUTINE Mavliks code? &lt;BR /&gt;&lt;BR /&gt;Furthermore more i need some help with the subroutine "ZeigeErgebnisse". I think i have to costumize this code... "ZeigeErgebnisse" will not work, if it stays like this...i have to adjust it to Mavliks code!?!&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE ZeigeErgebnisse&lt;BR /&gt;USE ImportAsciiGeneral&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;INTEGER ind&lt;BR /&gt;&lt;BR /&gt;6000 FORMAT(F20.3,3X,F20.3)&lt;BR /&gt;&lt;BR /&gt;DO ind = 1, dimV&lt;BR /&gt;WRITE(qwUErg, 6000) xV(ind), yV(ind)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot to everybody of you!&lt;BR /&gt;&lt;BR /&gt;Marco&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 15:54:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870685#M72032</guid>
      <dc:creator>kaffee46</dc:creator>
      <dc:date>2009-06-30T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870686#M72033</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;please attach the module Importasciigeneral, then we might be able to see what's wrong.&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 16:58:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870686#M72033</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2009-06-30T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read ASCII File with QuickWIN (CVF) and write it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870687#M72034</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/341673"&gt;anthonyrichards&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;please attach the module Importasciigeneral, then we might be able to see what's wrong.&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Hi, find attached to more Modules, which are required:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;MODULE ImportAsciiGeneral&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt; USE DFWIN&lt;BR /&gt; USE DFLIB&lt;BR /&gt; USE DFWINTY&lt;BR /&gt; USE ModuleImportAscii &lt;BR /&gt; USE DFLOGM&lt;BR /&gt;&lt;BR /&gt; INCLUDE 'RESOURCE.FD'      &lt;BR /&gt;&lt;BR /&gt; LOGICAL :: lRet&lt;BR /&gt; INTEGER :: iRet, TextLen&lt;BR /&gt; INTEGER, PARAMETER :: qwUErg = 77 &lt;BR /&gt; CHARACTER (LEN=80) :: Text&lt;BR /&gt; &lt;BR /&gt; TYPE (T_OPENFILENAME) :: OF&lt;BR /&gt;&lt;BR /&gt;END MODULE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;MODULE ModuleImportAscii&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; INTEGER, PARAMETER :: dimV = 50, FUNIT = 7&lt;BR /&gt; Real*4 xV(dimV), yV(dimV)&lt;BR /&gt;&lt;BR /&gt; CHARACTER (LEN=256) :: TxtFile = ''C&lt;BR /&gt; INTEGER, PARAMETER :: nFilter = 2&lt;BR /&gt; &lt;BR /&gt; CHARACTER (LEN=*), PARAMETER :: FileFilter = 'Kohlenstofftiefenverlauf *.txt'C // '*.txt'C	&lt;BR /&gt; CHARACTER (LEN=*), PARAMETER :: FileDefExt = 'Txt'C&lt;BR /&gt;&lt;BR /&gt;END MODULE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 16:58:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Read-ASCII-File-with-QuickWIN-CVF-and-write-it/m-p/870687#M72034</guid>
      <dc:creator>kaffee46</dc:creator>
      <dc:date>2009-07-01T16:58:38Z</dc:date>
    </item>
  </channel>
</rss>

