10 7 1 And

LANSA Technical

10.7.1 And

And checks the value of two Boolean values. If both are 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.And(#Boolean2)

 

This is equivalent to writing

 

If (#Boolean1 *and #boolean2)

 

#Button.Enabled := True

 

Else

 

#Button.Enabled := False

 

Endif

Ý 10.7 Boolean Intrinsic Functions