Skip to content

Commit 717e68d

Browse files
Update chain-declaration-usage.md
1 parent 3b49d92 commit 717e68d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/checks/chain-declaration-usage.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ After the check:
4040
DATA client LIKE sy-mandt.
4141
```
4242

43+
Or even (which looks neat - but it won't be enforced):
44+
45+
```abap
46+
DATA var1 TYPE a.
47+
DATA var2 TYPE string.
48+
DATA my_var3 TYPE int.
49+
DATA a TYPE c.
50+
```
51+
4352
### Further Readings & Knowledge
4453

4554
* [ABAP Styleguides on Clean Code: Do not chain up-front declarations](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#do-not-chain-up-front-declarations)

0 commit comments

Comments
 (0)