First pass conversion of NAV Patterns

This commit is contained in:
Jeremy Vyska 2021-10-22 00:23:03 +02:00
parent 1341938262
commit 6b32107a72
325 changed files with 11946 additions and 0 deletions

View file

@ -0,0 +1,26 @@
+++
title = "unnecessary-truefalse.md"
weight = 1300
+++
Do not use TRUE or FALSE keywords unnecessarily if the expression is already an logical expression.
Bad code
IF IsPositive() = TRUE THEN
Good code
IF IsPositive THEN
Bad code
IF Complete <\> TRUE THEN
Good code
IF NOT Complete THEN