Added End statement
This commit is contained in:
parent
a1a476e98b
commit
de8c4b0241
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ A CASE action should start on a line after the possibility.
|
||||||
case Letter of
|
case Letter of
|
||||||
'A': Letter2 := '10';
|
'A': Letter2 := '10';
|
||||||
'B': Letter2 := '11';
|
'B': Letter2 := '11';
|
||||||
...
|
end;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Good code
|
## Good code
|
||||||
|
|
@ -26,7 +26,7 @@ A CASE action should start on a line after the possibility.
|
||||||
Letter2 := '10';
|
Letter2 := '10';
|
||||||
'B':
|
'B':
|
||||||
Letter2 := '11';
|
Letter2 := '11';
|
||||||
...
|
end;
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Discussions](https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices?discussions_q=case+action+on+next+line+category%3A%22BC+Best+Practices%22)
|
## [Discussions](https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices?discussions_q=case+action+on+next+line+category%3A%22BC+Best+Practices%22)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue