Next:
Program Form
Up:
Lecture Notes Introduction to
Previous:
Contents
 
Contents
A quick tour of Fortran 95
Subsections
Program Form
Free vs. Fixed Formats
Declaration of Variables
Memory Organization. Variables
Integers.
Characters.
Reals.
Double Precision.
Complex
Logical.
General Form of Declarations
Implicit declarations
Assignment
Intrinsic Numerical Operations
Literal Constants
Relational Operators
Intrinsic Logical Operations
Intrinsic Character Operations
Substrings
Concatenation
Operator Precedence
Intrinsic Functions
Controlling the flow of the program
Conditional execution
Examples
Repetitive action
Application to DO loops: Fahrenheit to Celsius
Problems
Input and Output
Standard (keyboard/console)
File I/O
Opening files
Read and Write
Application
Arrays
Application
Adrian Sandu 2001-08-26