Skip to main content

1.2) Learning Fortran


I believe it is best to view and explain code in order to learn it. There are a number of examples in the course that you learn and along the way are a number of interspersed videos in which I talk through examples or show you further thoughts.
So let’s begin with Example 1 (see code on the following page) which is a very basic first example of a Fortran 95 source code (orange highlighted text identifies terms that appear in the glossary).
In the section of code in Example 1, I have included line numbers on the left hand side so I can refer to the lines when explaining but these should not appear in your program, they are just to refer to in this text.