Restructure for Docsy theme

This commit is contained in:
Jeremy Vyska 2022-02-20 13:18:49 +01:00
parent f4a1ebc077
commit cceb0c945e
376 changed files with 963 additions and 186 deletions

View file

@ -0,0 +1,32 @@
+++
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
```al
IF NOT(Type = Type::Item) THEN
```
Good code
```al
IF NOT (Type = Type::Item) THEN
```
Bad code
```al
DiscAmt := - "Discount Amount";
```
Good code
```al
DiscAmt := -"Discount Amount";
```