10 7 10 Or

LANSA Technical

10.7.10 Or

Or checks the value of two Boolean values. If either is true, the result will be True, otherwise, it will be false.

Input Parameters

With - Name of the second variable to be tested

Example

#Button.Enabled := #Boolean1.Or(#Boolean2)

 

This is equivalent to writing

 

If (#Boolean1 *or #boolean2)

 

#Button.Enabled := True

 

Else

 

#Button.Enabled := False

 

Endif

 

Ý 10.7 Boolean Intrinsic Functions