Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Conflict between module name and variable name

$
0
0

Shouldn't the compiler (XE 17) issue an error due to the duplicate use of name S in this example?

MODULE S
IMPLICIT NONE
INTERFACE
    MODULE FUNCTION F(S)
        IMPLICIT NONE
        INTEGER  :: S,F
    END FUNCTION F
END INTERFACE
END MODULE S

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>