First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
26
content/NAVPatterns/spacing-unary-operators/index.md
Normal file
26
content/NAVPatterns/spacing-unary-operators/index.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
+++
|
||||
title = "spacing-unary-operators.md"
|
||||
weight = 1140
|
||||
+++
|
||||
There must be no space between a unary operator and its argument (except for the NOT keyword).
|
||||
Bad code
|
||||
|
||||
IF NOT(Type = Type::Item) THEN
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
IF NOT (Type = Type::Item) THEN
|
||||
|
||||
|
||||
|
||||
Bad code
|
||||
|
||||
DiscAmt := - "Discount Amount";
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
DiscAmt := -"Discount Amount";
|
||||
Loading…
Add table
Add a link
Reference in a new issue