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


Ignore:
Timestamp:
Nov 5, 2018 5:55:27 PM (6 years ago)
Author:
kanani
Comment:

--

Legend:

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

    v6 v7  
    3232* '''1 whitespace''' after '''(''' and before ''')'''\\(only exception: '''0 whitespace''' in dimensions)
    3333
    34 \\\\\\\\\\\\\\\\\\\\\\\\\\
     34\\\\\\\\\\\\\\\\\\\\\\\\
    3535'''__Whitespaces in DO, IF blocks'''
    3636(see Fig. 2)
     
    4141}}}
    4242
     43* In general: '''1 whitespace''' everywhere and '''3 whitespace''' for indention levels
     44* But: '''2 whitespace'''\\
     45  * between '''DO''' and '''loop index'''
     46  * after '''IF (  )''' --> see {{{CALL}}}, {{{THEN}}}
     47  * in front of and after logical or relational operators (e.g. '''.OR.''', see [#operators list of allowed operators])
    4348
    4449
     50\\\\\\\\\\\\\\\\\\\\\\\\\\
    4551== Alignment ==
    46 * Linebreaks
    47 * ONLY lists
    48 * at least block-wise alignment for same type of declaration
    49 * of messages
     52(see Fig. 3)
     53{{{
     54#!div style="align:'left'; width: 450px; border: 0px solid; float:right"
     55[[Image(rules_align.png, 450px, right, margin-right=2, margin-top=0, border=0)]]\\
     56Fig. 2 Indention & whitespaces in loops. Click to enlarge.
     57}}}
     58* Block-wise alignment of continuation line marker '''&'''
     59* Alignment of ONLY lists
     60* At least block-wise alignment for same type/group of declaration statement
     61* Alignment of message_string values
     62* Alignment of input between brackets (e.g. in '''IF (  )  THEN''' or in argument list in subroutine calls)
    5063
    5164\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\