178. Scratch files are unnamed temporary files for I/O.#

topic: Input and Output

Note

This tip is a draft1.

A scratch file is an unnamed temporary file intended to exist only during a program run, which gives the system flexibility in its location. It is deleted when closed or when the program terminates. The Fortran Wiki has an article on scratch files.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.