| 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)}