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 

Old style (column 6 character) extension of statement longer

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



Joined: 27 Sep 2018
Posts: 15
Location: Australia

PostPosted: Sat Sep 29, 2018 1:39 am    Post subject: Old style (column 6 character) extension of statement longer Reply with quote

My voluminous code also has a lot of statement that are larger than col 72 and extended with the legacy method of a character in column 6 of a next line (which extends the statement). ftn95 generates compile errors. Is there an option that tells the compiler to adhere to the legacy standard for this isue?
Back to top
View user's profile Send private message
wahorger



Joined: 13 Oct 2014
Posts: 467
Location: Morrison, CO, USA

PostPosted: Sat Sep 29, 2018 2:25 am    Post subject: Reply with quote

If the program end with the extent .for, then the FORTRAN col 6 works just fine.

If you name the routines .f95, for example, it assumes a different format.

Also, under the Project Options, select Source and deselect "Allow Wide Source" if it is selected.
Back to top
View user's profile Send private message Visit poster's website
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 1844
Location: Yateley, Hants, UK

PostPosted: Sat Sep 29, 2018 11:02 am    Post subject: Reply with quote

Or use the compiler option /FIXED_FORMAT, if the file extension isn't .FOR or .F
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