These are the program examples discussed in the Fortran 90 lecture notes "Brief Introduction to the Fortran 90 Programming language". The programs are listed in the order they appear in the notes, together with a statement of the primary concepts they illustrate. A tar archive with all the files can also be downloaded. |
Sec. 2) Variable types and declarations[real.f90][integer.f90] [complex.f90] [logical.f90] [character.f90] [arrays.f90] [carray.f90] |
Sec. 3) Program control constructs[if.f90][case.f90] [doloop1.f90] [doloop2.f90] [goto.f90] |
Sec. 4) Procedures and program structures[writerev1.f90][writerev2.f90] [writerev3.f90] [writerev.f90] [polyfunc.f90] [funcarg.f90] [common1.f90] [common2.f90] [pmodule.f90] [keyword.f90] |
Sec. 5) Intrinsic procedures[bitops.f90][cputime.f90] |
Sec. 6) External files and output formatting[files.f90][read.f90] [formats.f90] [read2.f90] |
Sec. 7) Allocatable, assumed-shape, and automatic arrays[advarray.f90] |
Sec. 8) Optional arguments in procedures[keyword.f90] |
Sec. 9) Random number generators[randomnumber.f90][ran.f90] |