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 

Changing preconnected units possible ?

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





PostPosted: Thu Jan 20, 2005 6:17 am    Post subject: Changing preconnected units possible ? Reply with quote

I am in the process of choosing a Fortran 95 compiler to replace our old Fortran 77 compiler. Quite a lot of our code uses unit numbers 1 and 2 to open regular data files. This poses a problem with FTN95 's preconnection of these units to keyboard and console.
I already managed to empty some data files because an error message printed with print * would go to the data file instead of the screen.

Is it possible to change the units used for Print * and write * ?
Back to top
Andrew



Joined: 09 Sep 2004
Posts: 232
Location: Frankfurt, Germany

PostPosted: Fri Jan 21, 2005 3:20 am    Post subject: Changing preconnected units possible ? Reply with quote

There is no way to change these preconnected units. Units 5 and 6 should also be avoided as a rule, although they will not cause the same problems as 1 and 2. Hopefully a quick search and replace will be your friend here.
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