This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what is correct output?


Jack Howarth wrote:
Is there a standard format for the output from the following code?

      PROGRAM HELLO
      INTEGER FVIOLS
      FVIOLS=0
      PRINT *,'FVIOLS =',FVIOLS
      END
[...]

A "*" in the format means list-directed output, which in practice amounts to "write it so that it's readable". Specifically, all of the various details of the formats are processor-dependent.

(See 10.8.2 of the F95 standard for details.)

- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]