Hi,
Could I sincerely thank ALL of you who replied - it would take too long to thank everyone individually - for your useful suggestions. I never did find the problem, but suspect, as some people suggested, it was a compiler problem. So, I gave up with the GNU gfortran compiler and found an old...
Hi,
I am new to Fortran...but not programming. Why won't this program work? I can print integers but not reals.
PROGRAM print_real
IMPLICIT NONE
REAL :: x
x=3.14
PRINT *,x
END PROGRAM print_real
It compiles fine with gfortran (v12.3.0) but when run gives the following...
"Program received...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.