requested change

This commit is contained in:
waldo1001 2021-12-13 17:16:07 +01:00
parent 39340ca56d
commit 32e73b30ee

View file

@ -6,20 +6,20 @@ weight = 730
<_Created by Microsoft, Described by waldo_\> <_Created by Microsoft, Described by waldo_\>
## Description ## Description
The `if..then` pair, `while..do` pair, and `for..do` pair must appear on the same line or the same level of indentation. The `if..then` pair, `while..do` pair, and `for..do` pair must appear on the same line or the same level of indentation. If possible, you can align the lines it is even much more readable.
## Bad code ## Bad code
```al ```al
if (x = y) and if (x = y) and
(a = b) then (a = b) then
``` ```
## Good code ## Good code
```al ```al
if (x = y) and if (x = y) and
(a = b) (a = b)
then then
``` ```