added indentation
This commit is contained in:
parent
4fbfc28c9e
commit
83053e7287
6 changed files with 22 additions and 24 deletions
|
|
@ -26,4 +26,3 @@ When `begin` follows `then`, `else`, `do`, it should be on the same line, preced
|
||||||
...
|
...
|
||||||
end;
|
end;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,3 @@ if X then begin
|
||||||
end else
|
end else
|
||||||
(not X)
|
(not X)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ _Created by Microsoft, Described by waldo_
|
||||||
## Bad code
|
## Bad code
|
||||||
|
|
||||||
```al
|
```al
|
||||||
if Atom = '\>' then HasLogicalOperator := true else begin
|
if Atom = '>' then HasLogicalOperator := true else begin
|
||||||
...
|
...
|
||||||
end;
|
end;
|
||||||
```
|
```
|
||||||
|
|
@ -21,7 +21,7 @@ _Created by Microsoft, Described by waldo_
|
||||||
## Good code
|
## Good code
|
||||||
|
|
||||||
```al
|
```al
|
||||||
if Atom = '\>' then
|
if Atom = '>' then
|
||||||
HasLogicalOperator := true
|
HasLogicalOperator := true
|
||||||
else begin
|
else begin
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue