The logical assignment statement assigns the value of the logical expression on the right of the equal sign to the logical scalar memory reference on the left of the equal sign.
A logical assignment statement takes the following form:
v = e
Values must have previously been assigned to all symbolic references that appear in the expression. The expression must yield a logical value.
The following examples show valid logical assignment statements:
PAGEND = .FALSE. PRNTOK = LINE .LE. 132 .AND. .NOT. PAGEND ABIG = A.GT.B .AND. A.GT.C .AND. A.GT.D