change nav 3-cal-coding-guidelines formatting
This commit is contained in:
parent
bbfce1f9dc
commit
f88c06332c
7 changed files with 5 additions and 10 deletions
|
|
@ -17,7 +17,7 @@ Answer: all new C/AL code is bound to follow the guidelines (else it cannot be c
|
|||
|
||||
We're looking forward to your comments. Where you can, do provide concrete examples of the alternatives, Good and Bad.
|
||||
|
||||
[watch?v=z6skKy0pkmU&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=26][anchor2]
|
||||
{{< youtube z6skKy0pkmU >}}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,4 @@ weight = 490
|
|||
|
||||
## **Design**
|
||||
|
||||
###
|
||||
|
||||
Find the C/AL guidelines by expanding the menu in the left.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "By Reference Parameters.md"
|
||||
title = "By Reference Parameters"
|
||||
weight = 280
|
||||
+++
|
||||
Do not declare parameters by reference if their values are not intended to be changed.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ weight = 1450
|
|||
+++
|
||||
Do not use the WITH scope when it has a variable whose name is the same as a local variable. This can lead to wrong code assumptions.
|
||||
|
||||
**Given that **"Contract Type" is a field on table ServiceContractHeader, then in the following example there is a parameter name clash with the field name. Which one will be used?
|
||||
**Given that** "Contract Type" is a field on table ServiceContractHeader, then in the following example there is a parameter name clash with the field name. Which one will be used?
|
||||
|
||||
Bad code
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
+++
|
||||
title = "Internally-used DotNet Types"
|
||||
title = "Internally used DotNet Types"
|
||||
weight = 690
|
||||
+++
|
||||
## **Internally used Dot Net Types**
|
||||
|
||||
_(Dynamics NAV 2015)_
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,5 @@ weight = 700
|
|||
|
||||
## **Internationalization**
|
||||
|
||||
###
|
||||
|
||||
Find the C/AL guidelines by expanding the menu in the left.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Blank Lines.md"
|
||||
title = "Blank Lines"
|
||||
weight = 260
|
||||
+++
|
||||
Do not use blank lines at the beginning or end of any functions, after BEGIN, before END, or inside multiline expressions. Bad code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue