I am trying to open a file that was not generated by a Fortran app.
open (2,file="LAFA.mid", form='binary', access='sequential', &
I thought there was a way to do this ?
I just want examine the contents of this file.
Has anyone written an article about this ?
Your statement seems OK and will open any file.
Then you must read it block by block into variable(s). Next, you must interpret the contents of these variables (convert to hexa, decode with adapted types if you know the structure of the file...)
Is your file located in the current directory?
Note, if running from MS Visual Studio, the "current" current directory is that of the solution as opposed to the location of the execuitable (Debug or Release folder). You can change the current directory in the Debug/Release property page.