skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : False
 

Try Corticon Now

False

SYNTAX

false or F

DESCRIPTION

Represents the Boolean value false. Recall from discussion of truth values that an <expression> is evaluated for its truth value, so the expression Entity1.boolean1=false evaluates to true only when boolean1=false. But since boolean1 is Boolean and has a truth value all by itself without any additional syntax, we could simply state not Entity1.boolean1, with the same effect. Many examples in the documentation use explicit syntax like boolean1=true or boolean2=false for clarity and consistency, even though boolean1 or not boolean2 are equivalent, respectively, to the explicit syntax.

USAGE RESTRICTIONS

The Operators row of the table in Vocabulary usage restrictions applies. No special exceptions.

RULESHEET EXAMPLE

The following Rulesheet uses false in a Filter row to test whether boolean1 is false, and perform the Nonconditional computation if it is. As discussed above, the alternative expression not Entity1.boolean1 is logically equivalent.

SAMPLE RULETEST

A sample Ruletest provides three examples. Assume decimal2=10.0 and integer1=5 for all examples. Input and Output panels are shown below: