That is the question.
Like... I want to acess
object.someattribute.subat
but instead of someattribute, I want to a access whatever member a variable content, say atname holds.
How do I acess an atribute whose name is stored in a var?
Moderator: General Moderators
Re: How do I acess an atribute whose name is stored in a var?
Code: Select all
object[atname].subat