Logical operators should be enclosed in proper parenthesis in Functions (FORTRAN) | CAST Appmarq