Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Re: Writing to a closed file

Steven_L_Intel1
Employee
481 Views
No - writing to a closed unit implicitly opens it, as specified by the standard.

Steve
0 Kudos
1 Reply
Steven_L_Intel1
Employee
481 Views
The manual explains what is done on an implicit open. In particular, a default filename of the form FORTn.DAT is used. It does not "know" what name you used in a previous OPEN.

Steve
0 Kudos
Reply