Next:
Introduction
Up:
MATHEMATICAL METHODS FOR
Previous:
A (Bonus) Quick Tour
Introduction to Fortran
Introduction
Solving Problems Using Computers and High Level Programming Languages
Operating Systems and Computer Platforms
Use of the FTN90 Fortran Compiler in the Computer Labs
Some useful DOS commands
Some useful NAG Fortran 90 Compiler commands
First Steps
From problem to program
Basic Fortran statements
Structure of a Fortran Program
Errors in Programs
Design and Testing
F90 free form
F77 fixed form
Programming Exercises
The Fortran Programming Language
The Fortran Character Set
Constants and Variables
Names
Variable Type Declarations
Derived Data Types
Kind Type Parameters
Arithmetic Expressions
Expression Type
Assignment Statement
Overflow, Underflow and Divide Check Error
Exercises
Input And Output
READ Statement
WRITE Statement
A Sample Program using I/O Statements
Exercises
Basic Building Blocks: Program Units
Intrinsic Functions and Subroutines
External Functions
Subroutines
Modules
Modules and derived data types
Modules and explicit procedure interfaces
Exercises
Control Structures
IF Statements
Relational and Logical Expressions
Logical Variables
Logical IF Statement
Block IF Statements
The CASE construct
DO Loop Statement
Syntax
Exercises
Arrays
Array Declarations
Two and Higher-Dimensional Arrays
Arrays with Lower Bounds
Array constants and initial values
Arrays as Subprogram Parameters
Implied Do Loops
Using arrays in expressions
Harold Schranz
Fri Jun 27 15:32:04 EST 1997