HP Fortran Programmer's Guide (B3908-90031; September 2011)

Migrating to HP Fortran
Incompatibilities with HP FORTRAN 77
Chapter 10 225
ACCESS=expr1, where expr1 is a constant expression other than DIRECT or SEQUENTIAL.
IOSTAT=
KEY=
NAME=
READONLY
•STATUS=expr2, where expr2 is a constant expression other than OLD, NEW, UNKNOWN, REPLACE, or
SCRATCH.
TYPE=
In general, HP FORTRAN 77 allows more specifiers (and more options to specifiers) than does HP Fortran.
There are additional differences between the HP FORTRAN 77 version of the OPEN statement and the
HP Fortran version; compare the description of OPEN in the HP Fortran Programmer's Reference with that
in the HP FORTRAN/9000 Programmer's Reference.
In HP FORTRAN 77, namelist-directed output character strings are always quote-delimited; how and
whether such strings are delimited in HP Fortran depends on the DELIM= specifier. Also, HP FORTRAN 77
allows the NAMELIST statement to appear after executable statements; HP Fortran does not. For more
information about the NAMELIST statement, see the HP Fortran Programmer's Reference.
Directives
Only a small number of the compiler directives from HP FORTRAN 77 are supported under HP Fortran.
These are:
ALIAS
CHECK_OVERFLOW
LIST
OPTIMIZE
SHARED_COMMON
The syntax and functionality of individual directives has also changed; for detailed information about the
HP Fortran directives, see the HP Fortran Programmer's Reference.
All unsupported directives should be deleted or replaced by HP Fortran code that results in the same
functionality (see Table on page 228).
Miscellaneous
Following are miscellaneous incompatibilities between HP Fortran and HP FORTRAN 77: