Re: getenv
- Posted by Jeremy Cowgar <jeremy at cowgar.c?m> May 30, 2008
- 700 views
Kenneth Rhodes wrote: > > If the problem is under Windows, shouldn't that > be where the fix is applied? > Yes, that would be ideal, but I do think that is possible. Windows does not provide the means (that I can find) to tell if an environment variable is set with an empty value or unset. For both of those cases, it returns the same value. So, we have two options. #1 dumb down the Linux version so that Euphoria is consistent or document that getenv() works differently on Windows and Linux (which is not my favorite option). Maybe someone else knows a function call we can make in the win/dos api? -- Jeremy Cowgar http://jeremy.cowgar.com