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

Confusion about use of include files

$
0
0

I have a program that uses a file with PARAMETER in it, so I want all the subroutines to include that with an include statement.

The file is typed as an INC file, i.e. PARAMS.INC

The subroutines have no trouble referencing this file, but the main program cannot open it.

I get an error massage type #5102.

 

I was wondering why the MAIN program cannot reference the same file that all the subroutines can reference?

That is the the same project - Is there a way around this ?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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