Changes between Version 5 and Version 6 of doc/tec/developerrules/palmstandard


Ignore:
Timestamp:
Nov 5, 2018 4:50:35 PM (6 years ago)
Author:
kanani
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/developerrules/palmstandard

    v5 v6  
    77
    88== Indenting, spaces & line breaks ==
    9 === General module/subroutine structure ===
     9'''__General module/subroutine structure'''
     10(see Fig. 1)
    1011{{{
    1112#!div style="align:'left'; width: 450px; border: 0px solid; float:right"
     
    2324* '''2 whitespace''' after ''':''' and '''::'''\\
    2425
    25 * '''1 blank line''' between enclosed instructions, assignments, clauses, statements, etc.
    26 * "&" minimum at 80, max at 120
     26* '''1 blank line''' between enclosed blocks of instructions, assignments, clauses, statements, etc.
     27* "&" character for line continuation at position 80 (minimum), max at position 120
    2728
    28 === Whitespaces between brackets ===
     29'''__Whitespaces between brackets'''
     30(see Fig. 1)
    2931* '''0 whitespace''' between string and '''('''
    3032* '''1 whitespace''' after '''(''' and before ''')'''\\(only exception: '''0 whitespace''' in dimensions)
    3133
    32 === Whitespaces in DO, IF blocks ===
     34\\\\\\\\\\\\\\\\\\\\\\\\\\
     35'''__Whitespaces in DO, IF blocks'''
     36(see Fig. 2)
     37{{{
     38#!div style="align:'left'; width: 450px; border: 0px solid; float:right"
     39[[Image(rules_indent_loops.png, 450px, right, margin-right=2, margin-top=0, border=0)]]\\
     40Fig. 2 Indention & whitespaces in loops. Click to enlarge.
     41}}}
    3342
    34 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
     43
     44
    3545== Alignment ==
    3646* Linebreaks
     
    5363* .AND., .OR., .NOT.
    5464
     65== Preprocessor directives ==
     66
    5567== File header ==
    5668* Files always start with a doxygen-readable comment line including the FORTRAN file name.