HP 3000 Manuals

Ch 2. Formatted Input/Output [ HP FORTRAN 77/iX Programmer's Guide ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Programmer's Guide

Chapter 2  Formatted Input/Output 

HP FORTRAN 77 provides you with control over I/O operations through the
use of format specifications.  Formatted I/O can be used for I/O access
to devices (such as terminals), line printers, or disk files.  This
chapter describes how to use formatted I/O and list-directed
(free-format) I/O. Chapter 3  describes how to use unformatted I/O and
nonstandard files.

An I/O statement is connected to its source or destination through a unit
number specified as a parameter in the READ or WRITE statement.  All HP
FORTRAN 77 programs have at least two "preconnected" unit numbers:  5 and
6.  These unit numbers are automatically connected to the standard input
and output files, respectively.  Typically, your terminal is the default
standard input and output file.



MPE/iX 5.0 Documentation