HP FORTRAN 77/iX Programmer's Guide : COPYRIGHT NOTICE [ HP FORTRAN 77/iX Programmer's Guide ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Programmer's Guide
HP 3000 Computer Systems
HP FORTRAN 77/iX Programmer's Guide
HP Part No. 31501-90011
Printed in U.S.A.
Edition E0692
Fourth Edition
________________________________________________________________________
|The information contained in this document is subject to change |
|without notice. |
| |
|HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS |
|MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard |
|shall not be liable for errors contained herein or use of this |
|material. |
| |
|Hewlett-Packard assumes no responsibility for the use or reliability |
|of its software on equipment that is not furnished by Hewlett-Packard.|
| |
|This document contains proprietary information which is protected by |
|copyright. All rights are reserved. No part of this document may be |
|photocopied, reproduced, or translated to another language without the|
|prior written consent of Hewlett-Packard Company. |
________________________________________________________________________
Copyright (c) 1988, 1989, 1990, 1992 by Hewlett-Packard Company
Printed June 1992
Printing History
The following table lists the printings of this document, together with
the respective release dates for each edition. The software version
indicates the version of the software product at the time this document
was issued. Many product releases do not require changes to the
document. Therefore, do not expect a one-to-one correspondence between
product releases and document editions.
Edition Date Software Version
---------------------------------------------------------------------------------------
First Edition December 1988 31501A.02.00
Second Edition October 1989 31501A.03.05
Third Edition December 1990 31501A.04.11
Fourth Edition June 1992 31501A.04.31
Preface
This is the reference manual for the HP FORTRAN 77 programming language
as it is implemented on the MPE/iX operating system. This manual assumes
that the reader has been trained in the FORTRAN language and knows
FORTRAN programming techniques.
Chapter Summary
This manual is organized into the following chapters:
chapter 1 Describes the factors that influence storage
allocation for a FORTRAN variable.
chapter 2 Describes how to use formatted and list-directed
input/output statements.
chapter 3 Describes input/output operations with disk and
internal files.
chapter 4 Describes some FORTRAN 77 file operations under the
operating system.
chapter 5 Describes subroutines, functions, and block data
subprograms.
chapter 6 Describes methods that make programs more efficient.
Discusses the optimizer.
chapter 7 Describes how to port FORTRAN 77 programs from other
systems onto HP systems and how to make new programs
easily transportable between HP systems. Discusses
portability topics related to the operating system.
chapter 8 Discusses the interface between FORTRAN and other
languages.
chapter 9 Discusses facilities in FORTRAN 77 that are useful in
debugging programs.
Additional Documentation
More information on HP FORTRAN 77 and related topics can be found in the
following manuals:
* HP FORTRAN 77/iX Reference (31501-90010)
This manual is a complete reference of all HP FORTRAN 77/iX
features.
* HP FORTRAN 77/iX Migration Guide (31501-90004)
This manual contains information on how to run FORTRAN 66/V and HP
FORTRAN 77/V programs on the MPE/iX operating system and how to
convert them to HP FORTRAN 77/iX programs.
In addition, the following manuals are referenced in this manual:
* MPE/iX Intrinsics Reference Manual (32650-90028)
* HP Symbolic Debugger/iX User's Guide (31508-90003)
* HP Toolset/iX Reference Manual (36044-90001)
Conventions
UPPERCASE In a syntax statement, commands and keywords are
shown in uppercase characters. The characters must
be entered in the order shown; however, you can enter
the characters in either uppercase or lowercase. For
example:
COMMAND
can be entered as any of the following:
command Command COMMAND
It cannot, however, be entered as:
comm com_mand comamnd
italics In a syntax statement or an example, a word in
italics represents an optional parameter or argument
that you must replace with the actual value. In the
following example, you must replace filename with the
name of the file:
COMMAND filename
punctuation In a syntax statement, punctuation characters (other
than brackets, braces, vertical bars, and ellipses)
must be entered exactly as shown. In the following
example, the parentheses and colon must be entered:
(filename):(filename)
underlining Within an example that contains interactive dialog,
user input and user responses to prompts are
indicated by underlining. In the following example,
yes is the user's response to the prompt:
Do you want to continue? >> yes
{ } In a syntax statement, braces enclose required
elements. When several elements are stacked within
braces, you must select one. In the following
example, you must select either ON or OFF:
COMMAND {ON }
{OFF}
[ ] In a syntax statement, brackets enclose optional
elements. In the following example, OPTION can be
omitted:
COMMAND filename [OPTION]
When several elements are stacked within brackets,
you can select one or none of the elements. In the
following example, you can select OPTION or parameter
or neither. The elements cannot be repeated.
COMMAND filename [OPTION ]
[parameter]
[...] In a syntax statement, horizontal ellipses enclosed
in brackets indicate that you can repeatedly select
the element(s) that appear within the immediately
preceding pair of brackets or braces. In the example
below, you can select parameter zero or more times.
Each instance of parameter must be preceded by a
comma:
[,parameter][...]
In the example below, you only use the comma as a
delimiter if parameter is repeated; no comma is used
before the first occurrence of parameter:
[parameter][,...]
Conventions (continued)
|...| In a syntax statement, horizontal ellipses enclosed
in vertical bars indicate that you can select more
than one element within the immediately preceding
pair of brackets or braces. However, each particular
element can only be selected once. In the following
example, you must select A, AB, BA, or B. The
elements cannot be repeated.
{A} |...|
{B}
... In an example, horizontal or vertical ellipses
indicate where portions of an example have been
omitted.
In a syntax statement, the space symbol shows a
required blank. In the following example, parameter
and parameter must be separated with a blank:
(parameter) (parameter)
The symbol indicates a key on the keyboard. For
example, Return represents the carriage return key or
Shift represents the shift key.
CTRLcharacter CTRLcharacter indicates a control character. For
example, CTRL Y means that you press the control key
and the Y key simultaneously.
base prefixes The prefixes %, #, and $ specify the numerical base
of the value that follows:
%num specifies an octal number.
#num specifies a decimal number.
$num specifies a hexadecimal number.
If no base is specified, decimal is assumed.
MPE/iX 5.0 Documentation