Reorganizing
This commit is contained in:
parent
a4f6467d78
commit
f4886ee235
326 changed files with 4 additions and 0 deletions
|
|
@ -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