Home Search

DriveWorks Pro 21
Not

Send Feedback

Not

Returns the opposite of the given boolean value.

Syntax

Not( [ Logical Expression] )

Where:

Logical Expression is a rule that, when evaluated, results in either TRUE or FALSE.

If the logical expression, when evaluated, returns TRUE, then the NOT function will return FALSE.

If the logical expression, when evaluated, returns FALSE, then the NOT function will return TRUE.

Examples

Rule

Meaning
Not(ColorComboBoxReturn = "Blue"

Checks the return value of the ColorComboBox, to see if it is equal to "Blue".

If the ColorComboBox is equal to "Blue", the logical expression will be evaluated to TRUE, therefore the NOT function will return FALSE.

Not(TRUE)Returns FALSE

Example Outcomes

ColorComboBoxReturn = "Blue"

Result of the NOT function

TRUEFALSE
FALSETRUE

Comparing Values

Operator

Meaning
<Checks to see if the value on the left hand side of the operator is less than the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.
<=Checks to see if the value on the left hand side of the operator is less than, or equal to, the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.
>Checks to see if the value on the left hand side of the operator is greater than the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.
>=Checks to see if the value on the left hand side of the operator is greater than, or equal to, the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.
<>Checks to see if the value on the left hand side of the operator is not equal to the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.
=Checks to see if the value on the left hand side of the operator is the same as the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE.