Defining formatting styles for Fortran

Jane and I use the following in getting a consistent syle

nagfor =polish ch0401.f90 -alter_comments -noblank_cmt_to_blank_line -blank_line_after_decls -break_long_comment_word -format_start=100 -format_step=10 -idcase=L -indent=2 -indent_continuation=2 -indent_max=16 -keep_blank_lines -keep_comments -kwcase=L -leave_formats_in_place -margin=0 -noindent_comment_marker -noseparate_format_numbering -relational=F90+ -renumber -renumber_start=100 -renumber_step=10 -separate_format_numbering -terminate_do_with_enddo -width=132

we don’t capitalise Fortran keywords.

4 Likes