Re: getenv

new topic     » goto parent     » topic index » view thread      » older message » newer message

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) )

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     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu