First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
17
content/NAVPatterns/separate-if-and-else/index.md
Normal file
17
content/NAVPatterns/separate-if-and-else/index.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
+++
|
||||
title = "separate-if-and-else.md"
|
||||
weight = 1050
|
||||
+++
|
||||
IF and ELSE statements should be on separate lines. Bad code
|
||||
|
||||
IF Atom\[i+1\] = '\>' THEN HasLogicalOperator := TRUE ELSE BEGIN
|
||||
...
|
||||
END;
|
||||
|
||||
Good code
|
||||
|
||||
IF Atom\[i+1\] = '\>' THEN
|
||||
HasLogicalOperator := TRUE
|
||||
ELSE BEGIN
|
||||
...
|
||||
END;
|
||||
Loading…
Add table
Add a link
Reference in a new issue