AND

Performs the logical conjunction of two expressions.
 
 numeric-expression AND numeric-expression
 
Usage:
IF A AND B THEN C
First=Last AND Ready
A=Age>19 AND Reply$="YES"
 
Example:     AND.BAS
 
Description:
AND returns a value of one (true) or zero (false) from the logical conjunction of two expressions. The value of j AND k, where j and k are themselves numeric expressions is one (true) only if both j and k are non-zero. It is zero (false) if either or both j and k are zero. AND can be used in combination with other logical or math operators in numeric expressions.
 
See Also: