Language Reference Conventions

This section discusses the following:


General Conventions

The Language Reference uses the following general conventions. (Note that in most cases, blanks are not significant in Fortran 95/90.)

When you see this Here is what it means
Extensions to Fortran 95 This color indicates extensions to the Fortran 95 Standard. These extensions may or may not be implemented by other compilers that conform to the language standard.
OUT.TXT, ANOVA.EXE, COPY,
LINK, FL32
Uppercase (capital) letters indicate filenames and MS-DOS®-level commands used in the command console. Uppercase is also used for command-line options (unless the application accepts only lowercase).
!  Comment line
WRITE (*,*) 'Hello &
&World'
This kind of type is used for program examples, program output, and error messages within the text. An exclamation point marks the beginning of a comment in sample programs. Continuation lines are indicated by an ampersand ( & ) after the code at the end of a line to be continued and before the code on the following line.
AUTOMATIC, INTRINSIC, WRITE Bold capital letters indicate Fortran 95/90 statements, functions, subroutines, and keywords. Keywords are a required part of statement syntax, unless enclosed in brackets as explained below.
In the sentence, "The following steps occur when a DO WHILE statement is executed," the phrase DO WHILE is a Fortran 95/90 keyword.
other keywords Bold lowercase letters are used for keywords of other languages.
In the sentence, "A Fortran 95/90 subroutine is the equivalent of a function of type void in C," the word void is a keyword of C.
expression Words in italics indicate placeholders for information that you must supply. A file-name is an example of this kind of information. Italics are also used to introduce new terms.
[optional item] Items inside single square brackets are optional. In some examples, square brackets are used to show arrays.
{choice1 | choice2} Braces and a vertical bar indicate a choice among two or more items. You must choose one of the items unless all of the items are also enclosed in square brackets.
s[, s]...
A horizontal ellipsis (three dots) following an item indicates that the item preceding the ellipsis can be repeated. In code examples, a horizontal ellipsis means that not all of the statements are shown.
compiler option This term refers to Windows® options, OpenVMSTM qualifiers, and Tru64 UNIX® and Linux® options that can be used on the compiler command line.
KEY NAMES Small capital letters are used for the names of keys and key sequences, such as ENTER and CTRL+C.
A plus (+) indicates a combination of keys. For example, CTRL+E means to hold down the CTRL key while pressing the E key.
The carriage-return key, sometimes marked with a bent arrow, is referred to as ENTER.

The cursor arrow keys on the numeric keypad are called DIRECTION keys. Individual DIRECTION keys are referred to by the direction of the arrow on the key top (LEFT ARROW, RIGHT ARROW, UP ARROW, DOWN ARROW) or the name on the key top (PAGE UP, PAGE DOWN).
The key names used in this manual correspond to the names on the IBM® Personal Computer keys. Other machines may use different names.

Compatibility line The projects or libraries listed are compatible with the language element described.
Fortran This term refers to language information that is common to ANSI FORTRAN 77, ANSI/ISO Fortran 95 and 90, and Compaq Fortran (formerly DIGITAL Fortran).
Fortran 95/90 This term refers to language information that is common to ANSI/ISO Fortran 95 and ANSI/ISO Fortran 90.
Fortran 95 This term refers to language features in ANSI/ISO Fortran 95.
Fortran 90 This term refers to language features in ANSI/ISO Fortran 90.
Compaq Fortran, DIGITAL Fortran These terms refer to the same language. 
OpenVMS, VMS  These terms refer to the same operating system. 
Tru64 UNIX, DIGITAL UNIX   These terms refer to the same operating system. 
Windows systems  This term refers to all supported Microsoft® Windows® operating systems. (See labels WNT and W9* in Platform Labels below.) 
integer This term refers to the INTEGER(KIND=1), INTEGER(KIND=2), INTEGER (INTEGER(KIND=4)), and INTEGER(KIND=8) data types as a group.
real This term refers to the REAL (REAL(KIND=4)), DOUBLE PRECISION (REAL(KIND=8)), and REAL(KIND=16) data types as a group.
complex This term refers to the COMPLEX (COMPLEX(KIND=4)), DOUBLE COMPLEX (COMPLEX(KIND=8)), and COMPLEX(KIND=16) data types as a group.
logical This term refers to the LOGICAL(KIND=1), LOGICAL(KIND=2), LOGICAL (LOGICAL(KIND=4)), and LOGICAL(KIND=8) data types as a group.

Syntax Conventions

The Language Reference uses certain conventions for language syntax. For example, consider the following syntax for the PARAMETER statement:

PARAMETER [(] c = expr [, c = expr ] ...[)]

This syntax shows that to use this statement, you must specify the following:

The colored brackets ([   ]) indicate that the optional parentheses are an extension to standard Fortran.

Platform Labels

A platform is a combination of operating system and central processing unit (CPU) that provides a distinct environment in which to use a product (in this case, a language). For example, Microsoft® Windows® 98 on Intel® x86 is a platform.

Information applies to all supported platforms unless it is otherwise labeled for a specific platform (or platforms), as follows:

VMS Applies to OpenVMSTM on Alpha processors.
U*X Applies to Tru64 UNIX® and Linux® on Alpha processors.
TU*X Applies to Tru64 UNIX on Alpha processors.
WNT Applies to Microsoft Windows 2000 and Windows NT® 4.0 on AMDTM and Intel x86 processors, and 64-bit Windows operating systems on Intel IA-64 processors.
W9* Applies to Microsoft Windows 98, Windows Millennium Edition (Me), and Windows 95 on AMD and x86 processors.
Alpha Applies to operating systems on Alpha processors.
ia32 Applies to 32-bit Windows operating systems on AMD and x86 processors (see System Requirements and Optional Software in Visual Fortran Installing and Getting Started).
ia64 Applies to 64-bit Windows operating systems on IA-64 processors.