Boolean Intrinsic Functions - Or Method

Or 2 Boolean variables

Member of Boolean Intrinsic Functions (PRIM_LIBI.IBooleanIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanResult of the Or
With*InputBooleanVariable to Or with the subject

Details

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

Example

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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2