View previous topic :: View next topic |
Author |
Message |
Kevin
Joined: 01 Mar 2012 Posts: 34 Location: Ascot, UK
|
Posted: Thu Mar 01, 2012 2:51 pm Post subject: Current Working Directory in FTN95 Express |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7916 Location: Salford, UK
|
Posted: Thu Mar 01, 2012 5:24 pm Post subject: |
|
|
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 |
|
|
Kevin
Joined: 01 Mar 2012 Posts: 34 Location: Ascot, UK
|
Posted: Thu Mar 01, 2012 6:27 pm Post subject: |
|
|
No, I need to do it from the project environment.
Thanks anyway. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Fri Mar 02, 2012 11:34 am Post subject: |
|
|
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 |
|
|
Kevin
Joined: 01 Mar 2012 Posts: 34 Location: Ascot, UK
|
Posted: Fri Mar 02, 2012 11:51 am Post subject: |
|
|
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 |
|
|
|