Re: A.x vs. A["x"]

2010-01-23 Thread Steve Holden
Martin Drautzburg wrote: > Terry Reedy wrote: > >> On 1/22/2010 2:29 PM, Martin Drautzburg wrote: >>> This has probably been asekd a million times, but if someone could >>> give a short answer anyways I's be most grateful. >>> >>> What is it that allows one to write A.x? If I have a variable A, >

Re: A.x vs. A["x"]

2010-01-23 Thread Martin Drautzburg
Terry Reedy wrote: > On 1/22/2010 2:29 PM, Martin Drautzburg wrote: >> This has probably been asekd a million times, but if someone could >> give a short answer anyways I's be most grateful. >> >> What is it that allows one to write A.x? If I have a variable A, >> I know you can do this with cl

Re: A.x vs. A["x"]

2010-01-22 Thread Terry Reedy
On 1/22/2010 2:29 PM, Martin Drautzburg wrote: This has probably been asekd a million times, but if someone could give a short answer anyways I's be most grateful. What is it that allows one to write A.x? If I have a variable A, You do not really have a 'variable'. You have a name A bound to a

Re: A.x vs. A["x"]

2010-01-22 Thread Steve Howell
On Jan 22, 11:29 am, Martin Drautzburg wrote: > This has probably been asekd a million times, but if someone could give > a short answer anyways I's be most grateful. Not sure there is exactly a short answer, and I am only qualified to maybe clarify some of the things you can and cannot do, not e

A.x vs. A["x"]

2010-01-22 Thread Martin Drautzburg
This has probably been asekd a million times, but if someone could give a short answer anyways I's be most grateful. What is it that allows one to write A.x? If I have a variable A, then what to I have to assign to it to A.x becomes valid? Or even further: what do I have to do so I can write A.x=