HP FORTRAN 77 Reference Manual

HP FORTRAN 77 Reference Manual
Table of Contents
HP FORTRAN 77 Reference Manual
HP FORTRAN 77 Reference Manual : COPYRIGHT NOTICE
Introduction to HP FORTRAN 77
The FORTRAN 77 Compiler
FORTRAN Vocabulary
Source File Structure
Language Elements
The FORTRAN 77 Character Set
Special Symbols
Keywords
Symbolic Names
Comments
Data Types
Variables
Expressions
FORTRAN Statements
FORTRAN Statement Format
Statement Classification
Statement Order
ASSIGN Statement (Executable)
Assignment Statement (Executable)
BACKSPACE Statement (Executable)
BLOCK DATA Statement (Nonexecutable)
CALL Statement (Executable)
CHARACTER Statement (Nonexecutable)
CLOSE Statement (Executable)
COMMON Statement (Nonexecutable)
COMPLEX Statement (Nonexecutable)
COMPLEX*8 Statement (Nonexecutable)
COMPLEX*16 Statement (Nonexecutable)
CONTINUE Statement (Executable)
DATA Statement (Nonexecutable)
Implied DO Loops in DATA Statements
DECODE Statement (Executable)
DIMENSION Statement (Nonexecutable)
DO Statement (Executable)
DOUBLE COMPLEX Statement (Nonexecutable)
DOUBLE PRECISION Statement (Nonexecutable)
ELSE Statement (Executable)
ELSE IF Statement (Executable)
ENCODE Statement (Executable)
END Statement (Executable)
END DO Statement (Executable)
ENDFILE Statement (Executable)
ENDIF Statement (Executable)
ENTRY Statement (Nonexecutable)
EQUIVALENCE Statement (Nonexecutable)
Equivalence of Character Variables
EXTERNAL Statement (Nonexecutable)
FORMAT Statement (Nonexecutable)
FUNCTION Statement (Nonexecutable)
GOTO Statement (Executable)
IF Statement (Executable)
IMPLICIT Statement (Nonexecutable)
IMPLICIT NONE Statement (Nonexecutable)
INCLUDE Statement (Nonexecutable)
INQUIRE Statement (Executable)
INTEGER Statement (Nonexecutable)
INTEGER*2 Statement (Nonexecutable)
INTEGER*4 Statement (Nonexecutable)
INTRINSIC Statement (Nonexecutable)
LOGICAL Statement (Nonexecutable)
LOGICAL*2 Statement (Nonexecutable)
LOGICAL*4 Statement (Nonexecutable)
NAMELIST Statement (Nonexecutable)
OPEN Statement (Executable)
PARAMETER Statement (Nonexecutable)
Alternate PARAMETER Statement (Nonexecutable)
PAUSE Statement (Executable)
PRINT Statement (Executable)
PROGRAM Statement (Nonexecutable)
READ Statement (Executable)
REAL Statement (Nonexecutable)
REAL*4 Statement (Nonexecutable)
REAL*8 Statement (Nonexecutable)
RETURN Statement (Executable)
REWIND Statement (Executable)
SAVE Statement (Nonexecutable)
Statement Function Statement (Nonexecutable)
STOP Statement (Executable)
SUBROUTINE Statement (Nonexecutable)
TYPE Statement (Executable)
WRITE Statement (Executable)
Input/Output
Formatted Input/Output
Formatted Input
Format Specifications
Format and Edit Descriptors
Edit Descriptors
Repeat Specification
Nesting of Format Specifications
Unformatted Input/Output
List-Directed Input/Output
Namelist-Directed Input/Output
Diagnostic Messages
Compile-Time Diagnostics
Compile-Time Errors
Compile-Time Errors (continued)
Compile-Time Errors (continued)
Compile-Time Warnings
ANSI Warnings
Intrinsic Functions and Math Subroutines
Invoking an Intrinsic Function
Generic and Specific Function Names
Summary of the Intrinsic Functions
System Calls and Library Routines
Function Descriptions
ABS
ACOS
ACOSH
AINT
ANINT
ASIN
ASINH
ATAN
ATANH
ATAN2
BADDRESS
BTEST
CHAR
CMPLX
CONJG
COS
COSH
DBLE
DCMPLX
DIM
DNUM
DPROD
EXP
IAND
IBCLR
IBITS
IBSET
ICHAR
IEOR
IMAG
INDEX
INT
INUM
IOR
ISHFT
ISHFTC
IXOR
JNUM
LEN
LGE
LGT
LLE
LLT
LOG
LOG10
MAX
MIN
MOD
MVBITS
NINT
NOT
REAL
RNUM
SIGN
SIN
SINH
SQRT
TAN
TANH
ZEXT
FORTRAN Comparisons
Extensions to the Standard
Comparison of HP FORTRAN 77 and FORTRAN 66/V
Comparison of HP FORTRAN 77 and FORTRAN 7X
HP Character Set