First page Back Continue Last page Overview


This example is a first attempt at writing in F!

The new language F has been developed as a possible replacement of Pascal for the teaching of programming, but at the same it is a pure subset of Fortran 95.

A free F compiler is now available from

Keywords are reserved words and are required to be lower case letters, other identifiers may be mixed. Functions and subroutines are only permitted via modules. By default all variables have to be declared (the statement IMPLICIT NONE is therefore implicit and was previously not permitted explicitly, it is however now optional).
When available, the compiler switch -u is therefore very useful if you run an F program with a Fortran 90 compiler.