replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - The Details of FTN95 and F77 Code Mixing in a single program
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 

The Details of FTN95 and F77 Code Mixing in a single program

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


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

PostPosted: Mon Apr 28, 2014 12:45 pm    Post subject: Reply with quote

FTN95 accepts fixed format FORTRAN and free format FORTRAN.
You must use only one format in a given file but object code from different files can be linked together using the linker. So you can mix fixed and free format FORTRAN provided that you keep them in separate files.

FTN95 determines the format from the file extension or from a command line switch /FIXED_FORMAT or /FREE_FORMAT.

The OPTIONS compiler directive (placed in the code before a subprogram) may allow you to use one format for one subprogram and the other for another subprogram (all within one file) but I have never tried this. If it works then I am not sure this is a good idea anyway.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General 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