[Gambas-user] Reading an environment variable

Dave Sharples dave at ...772...
Thu Feb 10 09:30:09 CET 2005


sHome = System.Home should do it.


On Wed, 2005-02-09 at 21:15, Jim Ward wrote:
> I know I'm going to say, "Why didn't I think of that!", after some one
> tells me how to do this, but here goes any way. I'm trying to figure
> out how I use the .ApplicationEnv to get the value from $HOME. I
> tried:
> 
> sHome = .ApplicationEnv["HOME"]
> 
> and
> 
> sHome = gb.ApplicationEnv["HOME"]
> 
> but I know I'm missing the point. Thanks for any help.
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
-- 
-----------------------
Dave Sharples
Evaluations Engineer
Time Group Ltd
-----------------------





More information about the User mailing list