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 

missing width count for 'E' descriptor

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



Joined: 30 Aug 2005
Posts: 11

PostPosted: Thu Sep 15, 2005 3:28 am    Post subject: missing width count for 'E' descriptor Reply with quote



I have included the following statement:

WRITE (UNIT = 15, FMT = '(E)' ) GAIN , RPP, X, Y


However, I have received the following compiler error message:

*** Missing width count for 'E' descriptor

Appreciate your advise as to how to resolve this issue


Supramaniam
Back to top
View user's profile Send private message
JvO



Joined: 18 Aug 2005
Posts: 15

PostPosted: Thu Sep 15, 2005 4:48 am    Post subject: missing width count for 'E' descriptor Reply with quote

May I suggest that you start reading a manual about Fortran Sad)

The form of the E descriptor is (in its simple form) Ew.d
where w is the total field width and d the number of digits required.
w > d+7

So you try

Code:

WRITE(UNIT=15, FMT="(4E16.Cool") GAIN, RPP, X, Y





[JvO]
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