Prev Page Next Page
Conditions
Previous Top Next

The conditional operators supported are

            <          Less than
            >          Greater than
            <>        Not equal
            =          Equal
            <=        Less than or equal
            >=        Great than or equal

Two binary operators are supported: AND and OR, and one unary operator is supported: NOT.

A simple condition expression evaluates to one of the boolean values: true or false. The simple conditions can be combined into a more complex condition using the logical operators and using parentheses. Conditions are not "short-circuit" conditions. This means that the expressions will always be evaluated in full even if they cannot affect the result.

Note that the internal values for true and false are "true" and "false", both lower case. The keywords True and False without quotes and regardless of case return the strings "true" and "false" respectively. So
Var = TRUE
Var = true
Var = "true"
are all true for comparison purposes but
Var = "True"
is not as it is not a lower case string.

Boolean values can be used directly.
Enable = true
Example:If Enable then ...
Example: If True then ...

The NOT operator is a function and must have its target included within parentheses.
Enable = true
Example: If NOT (a = b OR a = b/2) Then ...
Example: If NOT (Enable) Then ...
  
Prev Page Next Page
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)