Next:
INTRODUCTION
Up:
Introduction to FORTRAN
Previous:
Introduction to FORTRAN
Contents
Contents
INTRODUCTION
The Layout of FORTRAN Stataments
The Standard Layout
The TAB Layout
Comment Lines, Blank Lines, Spaces and TABs
Constants, Variables, Expressions and Assignments
PRINT, READ, STOP and END statements
GOTO Statements
Unconditional GOTO
Computed GOTO
Assign GOTO
IF statements
ARITHMETIC IF
Logical IF
Block IF
Arrays - DIMENSION, REAL and INTEGER statements
Loops - DO and CONTINUE statements
FORMAT statements
General Discussion
Summary
General I/O
Introduction
READ and WRITE statements
OPEN and CLOSE statements
REWIND and BACKSPACE statements
DIRECT or RANDOM Access
CHARACTER data
Constants
REAL and INTEGER variables
CHARACTER variables
I/O
LOGICAL Data
Subprograms
Introduction
SUBROUTINE, CALL and RETURN statements
FUNCTION statements
PROGRAM statements
CHARACTER Constants as Arguments
COMMON statements
EQUIVALENCE statements
Initialisation of Variables and Arrays
DATA Statements
BLOCK DATA Statements
Octal and Hexadecimal
Statement Ordering and Program Layout
Building Programs and Using Libraries
Closing Remarks
Exercises
Introduction
On-line Phone Book
Fitting a Straight Line
Finding the Solution to an Equation Between Limits
Monte Carlo of a 1d Spectrum
Histogram Plotter
General Chi-Squared Fitting
n west (APC)
2000-03-08