|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Wed Dec 21, 2005 4:06 am Post subject: Problem with GETENV |
|
|
Hello,
I have loaded in my computer a Fortran code calling GETENV Function, using SALFORD FTN 95 for Microsoft Visual Studio.NET.
I have written the main source code but I have received from others the various procedures I have to put together in the main function. The computer successfully completes the compilation and link, but it shows the runtime exception:
29: Call to missing routine - GETENV.
Although GETENV call is included in one of the procedures:
CHARACTER*100 TAB_PATH, TAB_FILE, T
........
CALL GETENV("LG_LEGO",TAB_PATH)
I have looked both my computer and the Internet for something about this problem, but I did not find anything but a C Function called "getenv.c" (it is in MS Visual Studio Folders).
I suppose Getenv is an internal library function. Can you suggest me how can I solve this problem?
Thank you
Filippo Aiello
|
|
Back to top |
|
|
JohnH
Joined: 26 Sep 2005 Posts: 13
|
Posted: Wed Dec 21, 2005 6:18 am Post subject: Problem with GETENV |
|
|
Filippo
The Salford run-time library has the function getenv@ which is used as follows:-
CHARACTER*100 getenv@,VALUE
VALUE=getenv@('WINDIR')
Edit your source code appropriately and I'm sure you will not have a problem
regards
John |
|
Back to top |
|
|
|
|
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
|