Operator .AND. Foundation
.AND. Operator (binary): logical AND
<lCondition1> .AND. <lCondition2>
The .AND. operator links logical expressions and returns the result of a logical AND operation. This returns the value .T. (true) only when all .AND. linked expressions individually evaluate to the value .T. (true).
Many logical expressions can be linked with the .AND. operator. When one or more .AND. operators are used in a program line, the Xbase++ compiler uses shortcut optimizing by default. As soon as a single expression returns the value .F. (false), the result of the entire logical expression has been determined. Any remaining expressions are not evaluated and the result is the value .F. (false).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.