.AND. operator

Standard: F77 F90 F95 F2003 F2008 Example program


<Syntax>

expression .AND. expression

This operator has the highest precedence of the intrinsic binary logical operators; it is higher than that of .EQV., .NEQV., .OR., and user-defined binary operators, and lower than all other operators.

<Semantics>

Logical conjunction of two logical expressions. The kind of the result is the same as the kind of one of the expressions.

The result is .TRUE. if the expressions are both .TRUE., and .FALSE. otherwise.

<Related>

Concatenation (//) operator, .EQ. (==) operator, .EQV. operator, .LE. (<=) operator, .LT. (<) operator, .GE. (>=) operator, .GT. (>) operator, .NE. (/=) operator, .NEQV. operator, .NOT. operator, Numeric operators, Operator precedence, .OR. operator