Re: getenv
- Posted by Kenneth Rhodes <ken_rhodes30436 at ya?o?.com> May 30, 2008
- 654 views
Jeremy Cowgar wrote: > > 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... checks > ALL OVER. > ... > 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... > > Jeremy Cowgar So which is it? ALL SORTS / ALL OVER or ONLY ONCE? It sounds as though your new ifdef code might simply the cross-platform problem with getenv() without having to dumb down Linux. Ken Rhodes Folding at Home: http://folding.stanford.edu/ 100% MicroSoft Free SuSE Linux 10.3 No AdWare, SpyWare, or Viruses! Life is Good,