The AND operator (also written & and &&) takes two Boolean operands and returns TRUE if both operands are TRUE. Note that this operator is usually used to connect two comparisons.
The evaluator does not evaluate the second Boolean operand if the first one is FALSE (since the result must be FALSE).
Examples:
(1 > 2) AND ("JUAN" ~= "JUAN")
Result = FALSE
(1 < 2) AND ("JUAN" ~= "JUAN")
Result = TRUE
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |