On Sep 12, 2007, at 3:41 PM, johnf wrote:

> in VFP I would use "&variable."  How do I do the same for Dabo?
> I.e I want the following to work
>
> curlabel = "test"+"01"
> self.&curlabel. = "somestr"  ## where self is an object

        Paul gave you the answer for this problem, but keep in mind that  
this will only work for attributes. If you had a string that was  
"self.test01", you would have to use another approach, such as an  
exec statement. But in general, exec statements are best avoided.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to