end; should also have a begin
This commit is contained in:
parent
a83d00e8a2
commit
03c328bef9
1 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ The `end else` pair should always appear on the same line.
|
|||
...
|
||||
end
|
||||
else
|
||||
begin
|
||||
...
|
||||
end;
|
||||
```
|
||||
|
|
@ -27,7 +28,7 @@ The `end else` pair should always appear on the same line.
|
|||
if OppEntry.Find('-') then
|
||||
if SalesCycleStage.Find('-') then begin
|
||||
...
|
||||
end else
|
||||
end else begin
|
||||
...
|
||||
end;
|
||||
```
|
||||
|
|
@ -36,4 +37,4 @@ The `end else` pair should always appear on the same line.
|
|||
|
||||
You can find discussions on all "Best Practices" [here](https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices).
|
||||
|
||||
If you don't find the discussion of this guideline, please feel fee to create a new one with the same title as this article.
|
||||
If you don't find the discussion of this guideline, please feel fee to create a new one with the same title as this article.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue