Paul McNett wrote:

> Christof Wollenhaupt wrote:
> 
>> obj.AddProperty(cPropertyName,eNewValue)
>>
>> not that is more readable, but certainly more oopy. <g>
> 
> But I'm not adding a property; the property already exists.

...I see that it works though. This is better in my opinion because it 
doesn't rely on runtime evaluation to get object references. Thanks for 
pointing out that AddProperty() can set a property value even if the 
property exists. I would have expected an error "Property already 
exists" if you tried to add it again, but I'm thinking in Python I guess.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to