[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[photran] Re: photran Digest, Vol 7, Issue 8
|
I had the same problem, but Photran 3 works properly.
------------------------------
Message: 4
Date: Tue, 21 Mar 2006 16:55:53 +0100
From: msdklein <msdklein@xxxxxxx>
Subject: [photran] Running Fortran apps in console ?
To: photran@xxxxxxxxxxx
Message-ID: <1142956553.22782.13.camel@localhost.localdomain>
Content-Type: text/plain
Hi members! I'm using Eclipse 3.1 with Photran plugin 2.1.0 on an Ubuntu
5.1 box. Using C++ (gcc) works well. But running fortran apps compiled
with g95 shows special effects on the console window. Any print or write
statement is executed after all read statements. E.g.
program day
integer :: day
print *, "Welcome"
write( unit=*, FMT=900 )
read( unit=*, FMT=800) day
...
stop
800 format( i4 )
900 format( 1x, 'Enter day (1-31):' )
....
END program day
First You have to enter a value for day, press enter and then the write
and print statements follow. No problems, running this program in an
xterminal. What's the problem? Any idea?
Thanx a lot
Mag
------------------------------
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran
End of photran Digest, Vol 7, Issue 8
*************************************