Software Archive
Read-only legacy content
17060 Discussions

Include Statement Error

Deleted_U_Intel
Employee
509 Views
I recently purchased Compaq Visual Fortran and was compling an older program when the following error occurred. The error statement read 'Error: Cannot open file ' filenname.com'
Include ' filename.com'
The reference filename is a fortran file. I placed the file in the workspace, but the program seems unable to locate it. Do you have some suggestions?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
509 Views
Visual Fortran's default is to look for INCLUDE files in the same folder as that of the source file with the INCLUDE statement. WIthout seeing exactly what you're doing, it's hard to know what the problem is.

Steve
0 Kudos
Reply