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 

How do I tell Plato not to limit the length of my lines of code?

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





PostPosted: Sat Jun 11, 2005 4:53 pm    Post subject: How do I tell Plato not to limit the length of my lines of c Reply with quote

When I'm running my code, Plato only reads the first 73 chars or so in each line of code. How can I cange this to unlimited?

Juan Tello
Back to top
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 20, 2005 1:31 am    Post subject: How do I tell Plato not to limit the length of my lines of c Reply with quote

In Plato3 the number of characters on a line is effectively unlimited.
If you are writing code in fixed format Fortran then by default the compiler
will not use characters beyond column 72. This is the Fortran standard.
If you want to over-ride the restriction in the standard then you can
put /wide on the compiler command line.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 20, 2005 3:33 am    Post subject: How do I tell Plato not to limit the length of my lines of c Reply with quote

I should add that it would be simpler if you used free format Fortran.
This increases the limit from 72 to 132 characters.
By convention, fixed format files are normally indicated by a .for extension.
.f90 and .f95 are usually used for free format files.
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 -> 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