dvulin
Petroleum
- Mar 19, 2003
- 4
Hi, I'm new into Fortran because my mentor gave me an assigment to make his old UNIX Fortran codes useful and working as DLLs which we could invoke from MSExcel.
I had a knowledge of ASP, Borland Pascal and VBA, and some basics for Fortran I learned without trouble. I wrote a simple subroutine, compiled it as DLL and then called it from VBA macro in Excel. So the thing can work.
But that UNIX code he gave me is messy code, and I don't know how to compile it.
To simplify question, I have main program in one file, and subroutine in the other file. No USE, INCLUDE statements. So how to compile a program to use that subroutine?
As I said, I have MSFortran Powerstation proffesional edition 4.0 installed on my Win2000 OS.
I had a knowledge of ASP, Borland Pascal and VBA, and some basics for Fortran I learned without trouble. I wrote a simple subroutine, compiled it as DLL and then called it from VBA macro in Excel. So the thing can work.
But that UNIX code he gave me is messy code, and I don't know how to compile it.
To simplify question, I have main program in one file, and subroutine in the other file. No USE, INCLUDE statements. So how to compile a program to use that subroutine?
As I said, I have MSFortran Powerstation proffesional edition 4.0 installed on my Win2000 OS.