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 

Different Code Formats

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





PostPosted: Tue Jul 04, 2006 3:52 am    Post subject: Different Code Formats Reply with quote

Hello,

If using fixed format fortran code (.FOR?) how can I continue a statement on the next line? I thought I could do this by continuing the statement on column 6 of the next line, or by using a & at the end of each line but I get errors with each of these.

Thanks

D McMillan
Back to top
PaulLaidler
Site Admin


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

PostPosted: Tue Jul 04, 2006 5:37 am    Post subject: Different Code Formats Reply with quote

Put any character (other than zero) in column 6 of the continued line.
Then continue your statement in columns 7 to 72.
Avoid using tabs. The compiler translates a tab to 8 spaces so, if you want to use tabs, configure Plato using this setting or get Plato to convert tabs to spaces when typing.
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