Re: getenv CORRECTION
- Posted by Derek Parnell <ddparnell at bigpond.?om> May 30, 2008
- 633 views
Bernie Ryan wrote: > }}} <eucode> > if not getenv(name) and platform() = 3 > then return -1 > else return getenv(name) end if > </eucode> {{{ Apart from the fact that that code would fail (getenv() returns a sequence or an atom), the platform() test would be executed every time and getenv() would be called twice. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell