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 = "Spacing Unary Operators"
weight = 1140
+++
There must be no space between a unary operator and its argument (except for the NOT keyword).
Bad code
IF NOT(Type = Type::Item) THEN
```al
IF NOT(Type = Type::Item) THEN
```
Good code
IF NOT (Type = Type::Item) THEN
```al
IF NOT (Type = Type::Item) THEN
```
Bad code
DiscAmt := - "Discount Amount";
```al
DiscAmt := - "Discount Amount";
```
Good code
DiscAmt := -"Discount Amount";
```al
DiscAmt := -"Discount Amount";
```