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 

Current Working Directory in FTN95 Express

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



Joined: 01 Mar 2012
Posts: 34
Location: Ascot, UK

PostPosted: Thu Mar 01, 2012 2:51 pm    Post subject: Current Working Directory in FTN95 Express Reply with quote

Hi,
I can't find any way of setting the current working directory from within an FTN95 Express project.
It is possible in all other types of Visual Studio projects, but cannot find it here.
Am I missing something?

Kevin
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Mar 01, 2012 5:24 pm    Post subject: Reply with quote

I don't know the answer to your question but you can use ATTACH@ to set the current working directory from within your Fortran code.
Back to top
View user's profile Send private message AIM Address
Kevin



Joined: 01 Mar 2012
Posts: 34
Location: Ascot, UK

PostPosted: Thu Mar 01, 2012 6:27 pm    Post subject: Reply with quote

No, I need to do it from the project environment.
Thanks anyway.
Back to top
View user's profile Send private message
LitusSaxonicum



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

PostPosted: Fri Mar 02, 2012 11:34 am    Post subject: Reply with quote

Maybe use CURDIR@ ? (Page 29, FTN77 Library manual, available in PDF from documentation section of this website). The old FTN77 functions and subroutines usually work, if they don't relate to DBOS or to the old graphics system. (CURDIR@ replaces the obsolete, but perhaps more helpfully named, CURRENT_DIR@ - same page in the manual).

You may need to see for yourself if these routines work in a .NET environment.

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



Joined: 01 Mar 2012
Posts: 34
Location: Ascot, UK

PostPosted: Fri Mar 02, 2012 11:51 am    Post subject: Reply with quote

Thanks for the tip Eddie,
I really needed to do it from Visual Studio, but I've found a workaround now.
Kevin
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