This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Is this code legal
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Mon, 9 Oct 2006 11:06:59 +0200 (CEST)
- Subject: Is this code legal
Is the following code legal:
integer i
i = 1
print ('(z20.8)'), i
end
With gfortran 4.2.0 20061007 (OSX 10.3.9) it gives:
In file format_pb.f90:3
print ('(z20.8)'), i
1
Error: Syntax error in PRINT statement at (1)
TIA
Dominique