View previous topic :: View next topic |
Author |
Message |
BILLDOWS
Joined: 22 Jul 2005 Posts: 86 Location: Swansea, UK
|
Posted: Fri May 24, 2013 3:46 pm Post subject: Environmental Variables |
|
|
I need to access the values of certain environmental variables. Would I be correct in assuming that the use of the WinAPI GetEnvironmentalVariable is the best / only way to do this please?
Many Thanks
Bill |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Fri May 24, 2013 7:09 pm Post subject: |
|
|
Code: | CHARACTER (LEN=*) FUNCTION GETENV@(VARIABLE)
CHARACTER (LEN=*) VARIABLE
|
You will find this in FTN95.chm. |
|
Back to top |
|
 |
BILLDOWS
Joined: 22 Jul 2005 Posts: 86 Location: Swansea, UK
|
Posted: Sun May 26, 2013 11:18 am Post subject: |
|
|
Many thanks Paul - I thought there might be something available more directly.
Bill |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Mon May 27, 2013 9:39 pm Post subject: |
|
|
Many WinAPI functions are already in the FTN95 own library in Fortran-friendly simple form. But if someone would decipher all WinAPI and WinINET functions with the friendly Fortran definitions AND also add Fortran examples for all of them AND show exact results of the run AND add all that to the Help -- THAT would tremendously increase the use of Fortran itself because most people think that Fortran is only boring formulas. In reality with WinAPI very little what will be left appealing in other tech languages to scientists, engineers, postdocs and students who together are majority of all programmers.
And if make web version of Clearwin+ a la ClearWeb when all GUIs you write will be working from any browser, any computer, tablet or cellphone in the world then even professional specialized applications coders will start using it |
|
Back to top |
|
 |
|