One-slide F77 course

Fortran is case insensitive (reAL is as good as real)
One statement per line, must start in column 7 or later
Comma on separate lines
All function arguments are input and output
(as pointers in C, or references in C++)
A function returning one value is called function
A function returning no value is called subroutine
Types: real, double precision, real*4, real*8, integer, character (array)
Arrays: just add dimension, as in
real*8 a(0:m, 0:n)
Format control of output requires FORMAT statements

previousnexttable of contents