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 - And Method
And 2 Boolean variables
Member of Boolean Intrinsic Functions (PRIM_LIBI.IBooleanIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

Result of the And

With

*Input

Boolean

Variable to And with the subject

Details


Or checks the value of two Boolean variables. If both are True, the result will be True, otherwise, it will be False.

Example


#Button.Enabled := #Boolean1.And(#Boolean2)
This is equivalent to writing
If (#Boolean1 *and #Boolean2)
#Button.Enabled := True
Else
#Button.Enabled := False
Endif

See also

All Component Classes
Technical Reference

  • No labels