alguidelines/content/docs/NAVPatterns/3-cal-coding-guidelines/readability/comments-spacing/index.md
2022-02-24 14:45:35 +01:00

20 lines
308 B
Markdown

+++
title = "Comment Spacing"
weight = 360
tags = ["C/AL","Readability"]
categories = ["Best Practice"]
+++
Always start comments with // followed by one space character.
Bad code
```al
RowNo += 1000; //Move way below the budget
```
Good code
```al
RowNo += 1000; // Move way below the budget
```