Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » phortran run console(no output until all input has been read)
phortran run console [message #985702] Thu, 15 November 2012 17:45
james fastook is currently offline james fastookFriend
Messages: 1
Registered: November 2012
Junior Member
using Mac OS X, New to phortran, experienced with fortran, program compiles fine, but when I run it none of the prompts for input show until I have responded. executatble runs fine when executed in a terminal window

program hello
implicit none
real :: a
print *,'hello world'
read *,a
print *,'a =',a
end program hello

console window:

23
hello world
a = 23.000000

I need to enter the response to the read before I see the hello world

Puzzled...
Previous Topic:"Fix Copyrights" leads to copyright adapter error
Next Topic:BIRT-Viewer DB connection error
Goto Forum:
  


Current Time: Fri Nov 28 21:53:30 GMT 2014

Powered by FUDForum. Page generated in 0.02137 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software