Changes between Version 6 and Version 7 of doc/tec/developerrules/palmstandard
- Timestamp:
- Nov 5, 2018 5:55:27 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/tec/developerrules/palmstandard
v6 v7 32 32 * '''1 whitespace''' after '''(''' and before ''')'''\\(only exception: '''0 whitespace''' in dimensions) 33 33 34 \\\\\\\\\\\\\\\\\\\\\\\\ \\34 \\\\\\\\\\\\\\\\\\\\\\\\ 35 35 '''__Whitespaces in DO, IF blocks''' 36 36 (see Fig. 2) … … 41 41 }}} 42 42 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]) 43 48 44 49 50 \\\\\\\\\\\\\\\\\\\\\\\\\\ 45 51 == 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)]]\\ 56 Fig. 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) 50 63 51 64 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\