Thanks all. I'll look into the macros, though I was hoping that there would be something really simple.
I'm using Compaq Visual Fortran, version 6.6. I also have MS Visual Studio 2005 on the same machine, though I haven't figured out much about how to use it. One thing I don't understand is the relationship between Visual Studio 2005 and Compaq Visual Fortran. The only time I see them functionally linked is when I screw up a Fortran program and then it says something like "sorry, this program had to quit" and I have a choice of clicking "debug" or "end now". If I click "debug", it gives me the option of debugging using Visual Studio 2005. I never choose that because I have learned to use the Compaq Visual Fortran debugger a bit now, and as I understand it, Visual Studio 2005 is not capable of compiling Fortran code. Why Compaq has the same icon for Compaq Visual Fortran as Microsoft has for MS Visual Studio 2005 remains a mystery to me ....
Sorry to ramble on. I'm a total beginner trying to pick up some of these things for work, but working in lab full of molecular biologists where noone knows the first thing about programming. Till now I've used Perl a lot, but that's it. Diving into this stuff seems significantly more complicated to me.
Eric