assign properties to array elements
Posted on 2010-11-22
What is the best approach for creating my own properties to items in an array?
For example, I will have an array of places. The Array will be populated by a list created by the user on an excel worksheet. I would like each place to have properties, such as name, etc., etc. Some properties will be assigned through the list the user created, others will be assigned from external data (Web Query).
I'm thinking (after being setup properly) assigning a value to the property would look something like this: place(i).name = "Hell".
Any insight is appreciated, thanks.