To save space for the alignments of assignments, headers of files, modules, subroutines, or programs should not be indented.
Usually, there should be no blanks around the ``='' in an assignment. However, in some cases they can be inserted to improve readability. Likewise, a blank after a comma in parameter lists is inserted in some but not all cases.
In if..then..else constructs,
the new comparison operators are preferred ober the old ones,
i.e. ``==
'' instead of ``.eq.
''.
A single space is used before and after the comparison operator.
The general outline should be
There is no space between subroutine of function name and following open bracket.