diff --git a/NEP-1-:-Style-Guide-for-Nimrod-Code.md b/NEP-1-:-Style-Guide-for-Nimrod-Code.md index 81b7646..5cedd54 100644 --- a/NEP-1-:-Style-Guide-for-Nimrod-Code.md +++ b/NEP-1-:-Style-Guide-for-Nimrod-Code.md @@ -118,4 +118,37 @@ General - Use of extra whitespace for alignment is discouraged. This is not necessarily because such a alignment is bad, but because of the varying support editors have for auto-alignment of text, and the fact that manual - alignment and re-alignment can be quite time consuming. \ No newline at end of file + alignment and re-alignment can be quite time consuming. + + Incorrect: + + ```nimrod + type + WORDBOOL* = int16 # XXX: not a bool + CALTYPE* = int + CALID* = int + CCHAR* = char + TCOLORREF* = COLORREF + WINT* = int32 + PINTEGER* = ptr int32 + PBOOL* = ptr WINBOOL + LONGLONG* = int64 + PLONGLONG* = ptr LONGLONG + LPLONGLONG* = ptr LONGLONG + ``` + + Correct: + ```nimrod + type + WORDBOOL* = int16 # XXX: not a bool + CALTYPE* = int + CALID* = int + CCHAR* = char + TCOLORREF* = COLORREF + WINT* = int32 + PINTEGER* = ptr int32 + PBOOL* = ptr WINBOOL + LONGLONG* = int64 + PLONGLONG* = ptr LONGLONG + LPLONGLONG* = ptr LONGLONG + ``` \ No newline at end of file