Though a very old programming language, FORTRAN is still very useful because of its simpleness and diverse ability. For Windows, a copy of the FORTRAN 77 compiler named G77 may be downloaded free from here, however my enhanced version of the same with some simple written programs added may be a more convenient starting point. For Linux systems such as the various Ubuntu versions, the compiler named gfortran may be conveniently installed and used.Â
This set of images within a PDF guide conveniently describe the setting up and the way to work with these free FORTRAN compilers, following a tutorial exercise consisting of the following three steps:
(1) Setting up the FORTRAN compiler for Windows or Ubuntu.
(2) Converting a written FORTRAN program ErrDevtn.for into an executable program and running it to easily solve a numerical problem for calculation about errors and deviations in a set of quantitative chemical measurements.
(3) Playfully introducing a small change into a small written program QuadRoot.for and observing its effect on program execution.
To write FORTRAN programs, this short guide booklet by me should be useful as a convenient starting point. These three pages briefly discusses the main syntax differences of the BASIC programming language with FORTRAN.
Various such undergraduate/postgraduate/research level e-textbooks by me, mostly on chemistry however, are freely available here.