Skip to main content
Version: 20 R7 BETA

Not

Not ( boolean ) -> Function result

ParameterTypeDescription
booleanBooleanBoolean value to negate
Function resultBooleanOpposite of Boolean

Description

The Not function returns the negation of boolean, changing True to False or False to True.

Example

This example first assigns True to a variable, then changes the variable value to False, and then back to True.

 vResult:=True // vResult is set to True
 vResult:=Not(vResult) // vResult is set to False
 vResult:=Not(vResult) // vResult is set to True

See also

False
True