Skip to main content
Version: Next

Not

Not ( boolean : Boolean ) : Boolean

ParameterTypeDescription
booleanBoolean→Boolean value to negate
Function resultBoolean←Opposite 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

Properties​

Command number34
Thread safeyes