I have Compaq Visual Fortran 6.1 running under Windows 2000. Someone sent me a source file that I compiled and linked with no warnings or errors reported, but it won't run. The problematic code is:
if (.not. ex) then
stop 'model_input not found'
c define required properties
OPEN (14, FILE='model_input', STATUS='UNKNOWN')
When I execute the program, it writes 'model_input not found' and stops. I added the INQUIRE statement after the OPEN statement failed. The file model_input, in fact, exists and can be opened with Notepad. Copies of the file are located in both the Project and the Debug folders.
Can anyone suggest a trick to get this code to find and open this input file?
Many thanks in advance.