formatted nav patterns 2 to 4

This commit is contained in:
christianbraeunlich 2022-02-05 19:44:44 +01:00
parent 2fad891a77
commit f1f4aab1d7
55 changed files with 788 additions and 506 deletions

View file

@ -3,24 +3,30 @@ title = "Unnecessary Function Parenthesis"
weight = 1280
+++
Do not use parenthesis in a function call if the function does not have any parameters.
Bad code
IF ReservMgt.IsPositive() THEN
```al
IF ReservMgt.IsPositive() THEN
```
Good code
IF ReservMgt.IsPositive THEN
```al
IF ReservMgt.IsPositive THEN
```
Bad code
IF ChangeStatusForm.RUNMODAL() <\> ACTION::Yes THEN
```al
IF ChangeStatusForm.RUNMODAL() <> ACTION::Yes THEN
```
Good code
IF ChangeStatusForm.RUNMODAL <\> ACTION::Yes THEN
```al
IF ChangeStatusForm.RUNMODAL <> ACTION::Yes THEN
```