You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Boolean Intrinsic Functions - Not Method
Return the not of the variable
Member of Boolean Intrinsic Functions (PRIM_LIBI.IBooleanIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

Resulting Boolean

Details


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

Example


#Button.Enabled := #Button.Enabled.Not
This is equivalent to writing
If (#Button.Enabled)
#Button.Enabled := False
Else
#Button.Enabled := True
Endif

See also

All Component Classes
Technical Reference

  • No labels