HP Fortran Programmer's Guide (March 2010)
Migrating to HP Fortran
Incompatibilities with HP FORTRAN 77
Chapter 10 233
See the HP Fortran Programmer's Reference for information about the REAL intrinsic.
Input/output
The following I/O specifiers are recognized by the OPEN statement and by other I/O statements
in HP FORTRAN 77 but are not supported in HP Fortran:
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