Removed Discussion Links. Using new Theme solution.

Some additional MDLint cleanup as well
This commit is contained in:
Henrik Helgesen 2022-02-24 15:36:06 -08:00
parent cd3497d542
commit fb17dc9640
27 changed files with 90 additions and 206 deletions

View file

@ -7,40 +7,41 @@ categories: ["Best Practice"]
_Created by Microsoft, Described by waldo_
## Description
There must be exactly one space character on each side of a binary operator such as = + - AND OR =. The parameter comma operator however, should have a space after the comma.
## Bad code
```al
"Line Discount %" := "Line Discount Amount"/"Line Value"*100;
```
```
## Good code
```al
"Line Discount %" := "Line Discount Amount" / "Line Value" * 100;
```
```
## Bad code
```al
StartDate := CalcDate('<+'+Format(Days+i)+'D\>',StartDate);
```
```
## Good code
```al
StartDate := CalcDate('<+' + Format(Days + i) + 'D\>', StartDate);
```
```
## Bad code
```al
StartDate:=0D; // Initialize
```
## Good code
```al
StartDate := 0D; // Initialize
```
```