end; should also have a begin

This commit is contained in:
Stefan Maroń 2021-12-15 07:53:24 +01:00 committed by GitHub
parent a83d00e8a2
commit 03c328bef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.