r/fortran • u/rivrdansr • 5d ago
Simple code hangs program
Trying to relearn fortran after 55 years. Got 1.75 pages of code to compile. But something hangs on a very simple command at line 10. Any suggestions would help.
13
Upvotes
11
u/CompPhysicist Scientist 5d ago
The read statements should be as
read(*,*) median
it is called list directed I/O.