Silverfrost Forums

Welcome to our forums

Program Call Subroutine

23 Dec 2010 8:02 #7279

Within PROGRAM, how do I CALL a SUBROUTINE that's a new Fortran file in the same folder?

Thank you.

23 Dec 2010 10:26 #7280

If you are using the Fortran 77 standard then you just make the CALL. You don't need any interface, the linker will sort out everything for you.

If you have Fortran 90 features then you will need an INTERFACE.

24 Dec 2010 9:08 #7284

It's good now, thank you!

Please login to reply.