This section summarizes the Compaq Fortran 77 extensions that are available on all platforms. The meaning of the extension may differ depending on which platform you are using.
The following are platform-independent extensions to coding rules:
The following are platform-independent extensions to creating
symbolic names (see Section 1.3.3):
The following are platform-independent extensions to the FORTRAN-77
character set (see Section 1.4):
Character | Name | Character | Name |
---|---|---|---|
<tab> | Tab | < | Left angle bracket |
" | Quotation mark | > | Right angle bracket |
_ | Underscore | % | Percent sign |
! | Exclamation point | & | Ampersand |
Compilation Control Statements
The following statements are platform-independent extensions
that influence compilation (see Section 1.6):
INCLUDE 'full-file-name[/[NO]LIST]'
/NOASSUME
{ ALL }
{ [NO]BOUNDS }
/CHECK = { [NO]OVERFLOW }
{ [NO]UNDERFLOW }
{ }
{ NONE }
/NOCHECK
{ BIG_ENDIAN }
{ CRAY }
{ FDX }
{ }
{ FGX }
/CONVERT = { IBM }
{ LITTLE_ENDIAN }
{ }
{ NATIVE }
{ VAXD }
{ VAXG }
{ }
/[NO]EXTEND_SOURCE
/[NO]F77
/[NO]I4
/[NO]RECURSIVE
The following are platform-independent data type extensions (see
Section 2.1):
BYTE | INTEGER*1 | REAL*8 |
LOGICAL*1 | INTEGER*2 | COMPLEX*8 |
LOGICAL*2 | INTEGER*4 | COMPLEX*16 |
LOGICAL*4 | REAL*4 |
The following are platform-independent data item extensions:
Expressions are automatically converted to the necessary data type
before combining with another operand. (See
Section 2.3.1.2.)
The following are platform-independent logical expression extensions
(see Section 2.3.4):
On all platforms, you can specify the aggregate assignment statement
extension (see Section 3.4).
The following are platform-independent specification statement
extensions:
The following are platform-independent control statement extensions:
The following are platform-independent built-in function extensions
(see Section 6.1.2):
The following are platform-independent I/O statement extensions::
The following are platform-independent I/O formatting extensions:
The following are platform-independent auxiliary I/O statement
extensions (see Chapter 9 for OpenVMS details
or Chapter 10 for Tru64 UNIX details):
The following are platform-independent general compiler directive
extensions (see Section 11.2):
The following are additional platform-independent language
extensions that facilitate compatibility with other versions of
Fortran:
Be aware that on Alpha processors, you must specify the compiler
option VMS to use this extension.
The following are platform-independent intrinsic function extensions
(see Section C.2):
ACOSD | CDLOG[1] | IBCLR | NOT |
ASIND | CDSIN[1] | IBITS | NWORKERS |
ATAND | CDSQRT[1] | IBSET | SIND |
ATAN2D | COSD | IEOR | SIZEOF |
BTEST | DCMPLX | IMAG | TAND |
CDABS[1] | DFLOAT | IOR | ZEXT |
CDCOS[1] | DREAL | ISHFT | |
CDEXP[1] | IAND | ISHFTC | |
[1] Double precision complex intrinsics can also begin with the letter Z (see Section C.2). For example, CDABS can also be spelled ZABS. |
The following are platform-independent system subprogram extensions
(see Section D.1):
DATE | MVBITS | TIME |
EXIT | RAN | |
IDATE | SECNDS |
On all platforms, you can use a symbolic debugger to locate program
run-time errors. For more information, see your user manual and the
appropriate manual in your system documentation set.
Compiled programs conform to the conventions used by your system
(Tru64 UNIX, or OpenVMS) on your type of processor (Alpha or
VAX). For more information, see your user manual.