First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
15
content/NAVPatterns/colon-usage-in-case/index.md
Normal file
15
content/NAVPatterns/colon-usage-in-case/index.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
+++
|
||||
title = "colon-usage-in-case.md"
|
||||
weight = 340
|
||||
+++
|
||||
The last possibility on a CASE statement must be immediately followed by a colon. Bad code
|
||||
|
||||
CASE DimOption OF
|
||||
DimOption::"Global Dimension 1" :
|
||||
DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code";
|
||||
|
||||
Good code
|
||||
|
||||
CASE DimOption OF
|
||||
DimOption::"Global Dimension 1":
|
||||
DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code";
|
||||
Loading…
Add table
Add a link
Reference in a new issue