Re: Euphoria environment variables (was: quick cgi question)
- Posted by ChrisBurch2 <crylex at freeuk.co.uk> Apr 01, 2006
- 489 views
Juergen Luethje wrote: > > Greg Haberek wrote: > > >> I've been thinking in getting a second computer and give > >> Linux a second try. What distribution would you recomend? > > > > My friends and I have come up with two terms for Linux users: those > > who want to "get in and drive" and those who want to "get under the > > hood." > > > > If all you want to do is "get in and drive" then I suggest Ubuntu. If > > all you're concerned about is using Linux as an OS with having to > > compile anything, its great. However, setting up Euphoria is a hassle > > (environment variables don't work the same -- but I found a way around > > that). > > <snip> > > I also encountered problems with the environment variables when running > Euphoria from a USB drive (on Windows XP). > > Rob, I think usage of Euphoria would be simpler, if Euphoria would read > its settings from an INI file rather than from environment variables, > e.g.: > > ---------------------------- Euphoria.ini ---------------------------- > [Directories] > EUDIR=C:\Programs\Euphoria\ > EUINC=C:\Programs\Euphoria\Arwen\bin\;C:\Programs\Euphoria\wxEuphoria\ > ---------------------------------------------------------------------- > > The interpreter/translator just had to look for a file "Euphoria.ini" in > the same directory where it is located itself. 100% cross-platform, and > no hassle with environment variables any more. What do you think? > > Regards, > Juergen > > -- > Have you read a good program lately? Thats a nice idea - how about reading from an ini file if present in the current directory, or falling back to environment variables if not present? Chris