[Gambas-user] Environmental Variable

T Lee Davidson t.lee.davidson at ...626...
Sat Nov 29 05:53:04 CET 2014


On 11/28/2014 11:50 PM, T Lee Davidson wrote:
> On 11/28/2014 11:40 PM, Lewis Balentine wrote:
>> Is there a way to read an Environmental Variable other than:
>>
>> Dim HomeEnvStr as String
>> Shell "echo $HOME" to HomeEnvStr
>>
>> thank you,
>>
>> Lewis
>
> Yep. Application.Env (gb)

I almost forgot. For $HOME, you can use System.User (gb):
"User.Home".


-- 
Lee
__________

"Artificial Intelligence is no match for natural stupidity."




More information about the User mailing list