2020-12-21 15:38:52 +01:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
----
|
|
|
|
If BooleanVariable = True Then ...
|
|
|
|
If BooleanVariable <> True Then ...
|
|
|
|
If BooleanVariable OR False Then ...
|
|
|
|
DoSomething(Not False)
|
|
|
|
----
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
If BooleanVariable Then ...
|
|
|
|
If Not BooleanVariable Then ...
|
|
|
|
If BooleanVariable Then ...
|
|
|
|
DoSomething(True)
|
|
|
|
----
|
2021-06-02 20:44:38 +02:00
|
|
|
|
|
|
|
ifdef::rspecator-view[]
|
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
|
|
|
endif::rspecator-view[]
|