Re: getenv
- Posted by Jeremy Cowgar <jeremy at ?o?gar.com> May 30, 2008
- 681 views
Kenneth Rhodes wrote: > > > Once again, I'm probably talking over my head here... > > I do understand the simplicity of "dumbing down" the Linux version > of Euphoria, its the easiest way out-- at least as far as cross-platform > consistency. However, it strikes me as fundamentally wrong to throw away, > ignore, or mis-report information which might be useful. > Yes, I agree. > So is it really that difficult to document the deficient functioning > of Windows? > I think this is worse then dumbing down the Linux version. If the language is cross-platform then it should do it's best to be truly cross-platform. As a developer, I want to know that it runs on Windows therefore it will work on Linux. I do not want to have to code all sorts of ifdef's or if platform() checks all over. > Can cross-platform consistency be achieved by a platform contingent > routine? Or did we drop platform()? platform() was never dropped. I posted a message with a misleading subject that made some people think that (I was not thinking). However, there is a much better way of doing platform checks now that will probably lead to platform() becoming a function that no one uses. instead of if platform() = WIN32 then ... you can do ifdef WIN32 then ... The later decision is made at parse time only once in your applications life. The platform() check is done as many times as you call it. -- Jeremy Cowgar http://jeremy.cowgar.com