unit 0

Thomas Koenig Thomas.Koenig@online.de
Wed Dec 15 21:47:00 GMT 2004


Is unit 0 supposed to be preconnected to standard error, as Unix
compilers usually do?

$ cat write.f
      program main
      write (0,*) "Hello"
      end
$ g77 write.f
$ ./a.out
 Hello
$ gfortran write.f
$ ./a.out
$ cat fort.0
 Hello



More information about the Fortran mailing list