next up previous contents
Next: Intrinsic Character Operations Up: A quick tour of Previous: Relational Operators   Contents

Intrinsic Logical Operations

logical :: a,b
logical :: [a] b

F90 Meaning  
.NOT. monadic logical negation  
.AND. logical AND (T.AND.T=T, else F)  
.OR. logical OR (F.OR.F=F, else T)  
.EQV. true, if both operands have same value  
.NEQV. true, if operands have different values  

Example.

  real :: a, b
  logical :: q1, q2
  q1 = (.NOT.q2) .AND. (a.GT.b)}



Adrian Sandu 2001-08-26