replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Program Call Subroutine
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Program Call Subroutine

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Buddy



Joined: 22 Dec 2010
Posts: 2

PostPosted: Thu Dec 23, 2010 9:02 am    Post subject: Program Call Subroutine Reply with quote

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

Thank you.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8255
Location: Salford, UK

PostPosted: Thu Dec 23, 2010 11:26 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Buddy



Joined: 22 Dec 2010
Posts: 2

PostPosted: Fri Dec 24, 2010 10:08 am    Post subject: Reply with quote

It's good now, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group