Compaq Fortran 77 Release Notes for OpenVMS VAX Systems
*HyperReader
|
3.1 DEC Fortran Language Reference Manual
3.1.1 Section 8.2.1 - Input Rules for FORMAT Statements
The FORTRAN-77 standard does not specify what the de-
fault BLANK value should be for preconnected units or
internal files. Digital Fortran for OpenVMS (both VAX and
Alpha) has chosen 'ZERO' in order to preserve compatibility
with programs depending on the FORTRAN-66 behav-
ior which was to always treat blanks as zeroes. However,
the Fortran 90 standard explicitly specifies the default for
internal files as 'NULL', which conflicts with the default
used by Digital Fortran for OpenVMS (which conforms to
FORTRAN-77). The Fortran 90 standard does not specify
the default BLANK= behavior for preconnected units. The
result is that programs which depend on a particular imple-
mentation's defaults for BLANK= may produce unexpected
results on other platforms or when compiled using Fortran
90.
This issue can be especially troublesome when a program
depends on short field termination (see section 8.8 of DEC
Fortran Language Reference Manual ) and is compiled us-
ing a Fortran 90 compiler which, by default, blank pads short
records.
In order to avoid problems caused by inconsistencies in the
default, Digital recommends adding an explicit BN or BZ for-
mat edit descriptor, as desired, in the format used for internal
READ or DECODE statements. For preconnected units, BN
or BZ should also be added, or these units can be explicitly
opened so that the BLANK= behavior is consistent.
3.1.2 Section 11.2.6 - OPTIONS Directive
This directive is now supported on VAX systems. (V6.3-155)
In addition, a new /WARNINGS qualifier may be specified on
the OPTIONS directive. See Section 2.2.1.3 for details. (V6.3-
155)
3.1.3 Table C-7 - BLAS Basic Set Routines
For routines xROT and xROTG, the datatype for the first
rotation element argument c is REAL *4 for CSROT and
CROTG and REAL *8 for ZDROT and ZROTG. The datatype
for the second rotation element argument s is the same type
as the array argument.