10 7 9 Not

LANSA Technical

10.7.9 Not

Not returns the opposite value of a Boolean variable. Thus, a true will be returned as a false, and vice versa

Input Parameters

None

Example

#Button.Enabled := #Boolean.Not

 

This is equivalent to writing

If (#Boolean = True)

 

#Button.Enabled := False

 

Else

 

#Button.Enabled := True

 

Endif

 

Ý 10.7 Boolean Intrinsic Functions