First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
31
content/NAVPatterns/blank-lines/index.md
Normal file
31
content/NAVPatterns/blank-lines/index.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
+++
|
||||
title = "blank-lines.md"
|
||||
weight = 260
|
||||
+++
|
||||
Do not use blank lines at the beginning or end of any functions, after BEGIN, before END, or inside multiline expressions. Bad code
|
||||
|
||||
PROCEDURE MATRIX\_OnDrillDown@1133(MATRIX\_ColumnOrdinal : Integer);
|
||||
BEGIN
|
||||
SetupDrillDownCol(MATRIX\_ColumnOrdinal);
|
||||
DrillDown(FALSE,ValueType);
|
||||
END;
|
||||
|
||||
Good code
|
||||
|
||||
PROCEDURE MATRIX\_OnDrillDown@1133(MATRIX\_ColumnOrdinal : Integer);
|
||||
BEGIN
|
||||
SetupDrillDownCol(MATRIX\_ColumnOrdinal);
|
||||
DrillDown(FALSE,ValueType);
|
||||
END;
|
||||
|
||||
Bad code
|
||||
|
||||
IF NameIsValid AND
|
||||
Name2IsValid
|
||||
THEN
|
||||
|
||||
Good code
|
||||
|
||||
IF NameIsValid AND
|
||||
Name2IsValid
|
||||
THEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue