It is easy to make mistakes by forgetting the implications of precedence, the following expression,
x = a+b/5.0-c**d+1
is equivalent to
x = ((a+(b/5.0))-(c**d))+1
Likewise the following expression,
.NOT.A.OR.B.EQV.C.AND.D.OR..NOT.E
is equivalent to
((.NOT.A).OR.B).EQV.((C.AND.D).OR.(.NOT.E))
Parentheses can be added to any expression to modify the order of evaluation.
For more information, click here