1. Re: getenv CORRECTION

Bernie Ryan wrote:
> 
> Derek Parnell wrote:
> > 
> > Jeremy Cowgar really meant to write:
> > 
> >  
> >  }}}
<eucode>
> >  override function getenv(sequence name)
> >      object v
> >      v = eu:getenv(name)
> >      ifdef LINUX then
> >       if atom(v) or length(v) = 0 then
> >          v = -1
> >       end if
> >      end ifdef
> >      return v
> >  end function
> >  </eucode>
{{{

> > 
> > 
> > blink 
> > 
> > -- 
> > Derek Parnell
> > Melbourne, Australia
> > Skype name: derek.j.parnell
> 

if not getenv(name) and platform() = 3
then return -1
else return getenv(name) end if


Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu