File Access and File Structure

Fortran supports two methods of file access:

Fortran supports three kinds of file structure:

Sequential-access and direct-access files can have any of the three file structures.

The following kinds of files are possible:

Choosing a File Access and File Structure

Each kind of file has advantages and the best choice depends on the application you are developing: