soccer jersey forums.silverfrost.com :: View topic - Enhancement to DRIVER= in OPEN
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 

Enhancement to DRIVER= in OPEN

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



Joined: 13 Oct 2014
Posts: 1225
Location: Morrison, CO, USA

PostPosted: Sun Jun 18, 2017 4:51 pm    Post subject: Enhancement to DRIVER= in OPEN Reply with quote

I don't know how many folks use this feature in FTN95, but there's one "enhancement" that would be useful.

Specifically, the ability to specify FILE= in the open statement and have the name passed along.

I know there are situations whereby one would NOT specify a filename. Using this with 1553 driver, or doing some specialized task that doesn't require a name (i have one of these in my code already). That said, having the FILE= parameter available to the driver routine would be must helpful. I can see one specifying an actual filename, a set of parameters for process control, etc.

I feel sure that there are a LOT of other tasks that would be useful to many people ahead of this one; I just wanted to get on record requesting this one.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 19, 2017 7:05 am    Post subject: Reply with quote

OK I will add this to the wish list.

Would there be a UNIT value so that the value of FILE could be retrieved via an INQUIRE statement?
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1225
Location: Morrison, CO, USA

PostPosted: Mon Jun 19, 2017 2:45 pm    Post subject: Reply with quote

I think I understand the question. Should the driver be able to retrieve the value of the file name assigned by its UNIT=?

I would think, yes, since the unit number can be retrieved in the driver currently using get_current_fortran_unit@.

I don't see detailed information on the INQ action to support this, regarding what parameters can be passed and in which direction.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 19, 2017 3:40 pm    Post subject: Reply with quote

OK. If you specify a UNIT number in your OPEN statement then I guess that this would work when the FTN95 IO library is modified.
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 -> Suggestions 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