First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
13
content/NAVPatterns/variables-declarations-order/index.md
Normal file
13
content/NAVPatterns/variables-declarations-order/index.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
+++
|
||||
title = "variables-declarations-order.md"
|
||||
weight = 1430
|
||||
+++
|
||||
Variables declarations should be ordered by type. In general, object and complex variable types are listed first followed by simple variables. The order should be the same as the object list in the object designer for C/AL objects. Afterwards come the complex variables like RecordRef, .NET, FieldRef etc. At the end come all the simple data types in no particular order. Bad code
|
||||
|
||||
StartingDateFilter@1002 : Text\[30\];
|
||||
Vend@1003 : Record 23;
|
||||
|
||||
Good code
|
||||
|
||||
Vend@1003 : Record 23;
|
||||
StartingDateFilter@1002 : Text\[30\];
|
||||
Loading…
Add table
Add a link
Reference in a new issue