Not

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


Not (boolean) Boolean

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


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next