added caption for each example

This commit is contained in:
Christian Bräunlich 2022-05-05 16:16:27 +00:00
parent 5652ea8c5d
commit 6162a121be
5 changed files with 48 additions and 24 deletions

View file

@ -16,37 +16,43 @@ Blanks, periods, and other characters (such as parentheses) that would make quot
If a variable is a compound of two or more words or abbreviations, each word or abbreviation should begin with a capital letter.
## Bad code
## Example 1
### Bad code
```al
WIPBuffer: Record "Job WIP Buffer"
```
## Good code
### Good code
```al
JobWIPBuffer: Record "Job WIP Buffer"
```
## Bad code
## Example 2
### Bad code
```al
Postline: Codeunit "Gen. Jnl.-Post Line";
```
## Good code
### Good code
```al
GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line";
```
## Bad code
## Example 3
### Bad code
```al
"Amount (LCY)": Decimal;
```
## Good code
### Good code
```al
AmountLCY: Decimal;