As the result of a bout of getting some code working under WinXP that previously ran fine under Win2k, I find myself wondering where the 'rules of engagement' for INQUIRE are to be found. Even 'FORTRAN 90 explained' is less than forthcoming on the subject.
The curiosity started when I (inadvertently) INQUIREd about the existence of a file for which I had provided a file spec that was a blank string. Careless, admittedly - but I think I might have expected to get a simple 'does not exist' response rather than the run-time error I actually got, which declared I had passed an illegal file name. Prompting the question ... how many rules there are to be broken, and what they are.
This got me wondering how much interpretation of the file spec goes on behind the scenes, and where it is documented, and how the statement copes with different OSs. Related to this is whether there is a standard way to INQUIRE about the existence of a path rather than a file. I have been trying the old method of appending '.' to the path I want to enquire about, and it returns false whether the path exists or not. I suspect (but cannot currently demonstrate) that it would have worked under Win9x - in which case, the rules of engagement that I can't find are system-dependent as well.