help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] How to access environment variables ?


From: Mehul Sanghvi
Subject: Re: [Help-smalltalk] How to access environment variables ?
Date: Mon, 28 Mar 2011 09:57:55 -0400

On Mon, Mar 28, 2011 at 09:52, Paolo Bonzini <address@hidden> wrote:
> On 03/28/2011 03:42 PM, Mehul Sanghvi wrote:
>>
>>      gst>  Smalltalk getenv: 'SHELL'
>>      '/bin/bash'
>>      gst>
>>
>> I didn't think I needed it when I was doing the environ statement.
>
> You didn't need it for "Smalltalk environ" indeed.  But here,
>
>> which is different from
>>
>>      gst>   Smalltalk environ:
>>
>> the last one needing a '.' to make it a complete statement or an object.
>
> adding a "." would only make a syntax error, because you need an argument
> after "environ:", just like you had one above "getenv:".
>
> Tip: if you think it's complicated, you aren't understanding it. :)
>
> Paolo
>

More like not paying attention to it.  :)


-- 
Mehul N. Sanghvi
email: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]