Hello,
I'm new in GNU Fortran.
I try to perform the following code (in Fortran 77) :
PROGRAM TEST
C
REAL*8 VAL
C
VAL = 'Hello !!'
WRITE (6,1000) VAL
1000 FORMAT(' My message : ', A8)
C
STOP
END
With old compilers such Digital Visual Fortran, this program works perfectly.
But with gfortran, I can't compile. The error is :
Error: Can't convert CHARACTER(1) to REAL(8)
Is there a compiler option to solve it and to allow automatic conversion from CHARACTER to REAL ?
Thanks,
Lyk