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 

Fortran Out

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



Joined: 02 Sep 2008
Posts: 210

PostPosted: Fri Sep 19, 2008 7:29 pm    Post subject: Fortran Out Reply with quote

When I issue the Fortran statement Open (UNIT=6,File='C:parout.txt'), output works correctly when executing the run module name under the SilverFrost command subset and calling the run file directly. However, the same statement under the Plato3 system produces no output to the file specified, what is the prognosis? Sid Kraft.
Back to top
View user's profile Send private message
LitusSaxonicum



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

PostPosted: Sat Sep 20, 2008 11:35 am    Post subject: Reply with quote

Sid,

Many Fortran systems make specific assumptions about Unit numbers 5 and 6, and (where 0 is a valid unit number) 0 as well. I suggest trying some other unit number (say 99) - always easier if the unit number is a variable, and not hard-coded to a specific integer. If the problem goes away, it was a system peculiarity related to Unit 6.

Eddie
Back to top
View user's profile Send private message
IanLambley



Joined: 17 Dec 2006
Posts: 490
Location: Sunderland

PostPosted: Mon Sep 22, 2008 12:00 pm    Post subject: Reply with quote

Try putting:

File='C:\parout.txt'

Have a look at this post
http://forums.silverfrost.com/viewtopic.php?t=1170&highlight=plato

Regards

Ian
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato 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