4D v14.3

Not

Home

 
4D v14.3
Not

Not 


 

Not ( boolean ) -> Function result 
Parameter Type   Description
boolean  Boolean in Boolean value to negate
Function result  Boolean in Opposite of Boolean

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

 
PROPERTIES 

Product: 4D
Theme: Boolean
Number: 34

 
HISTORY 

Created: < 4D v6

 
SEE ALSO 

False
True

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)