next up previous contents index
Next: 5.4.5 Short comments after Up: 5.4 Comments Previous: 5.4.3 Header of subroutines   Contents   Index

5.4.4 Comment lines

A subroutine, function, or program should not contain completely empty lines but should start such a line with a - properly indented - exclamation mark.

Comments should be indented as the surrounding Fortran code.

Comments should typically be formulated as an order and start with a verb.

Comments should start with a space-separated triple-hyphen block as in

   ! -- Show a typical comment --