Next: I/O item lists, Previous: Commas in FORMAT specifications, Up: Extensions implemented in GNU Fortran [Contents][Index]
FORMAT specificationsTo support legacy codes, GNU Fortran allows missing periods in format specifications if and only if -std=legacy is given on the command line. This is considered non-conforming code and is discouraged.
       REAL :: value
       READ(*,10) value
10     FORMAT ('F4')