If I have one class
that has multiple instances of another class, is there a better way to represent
this than in an array? For example:
Component
Company
instance.CompanyName = "";
...
instance.People = ArrayNew(2);
Function setPerson
{
...
instance.People[n][1] = "Buyer";
instance.People[n][2] = createObject("component", "person");
...
}
Is this the correct
way to represent this relationship between class person and class
company? How much overhead am I adding by having multiple sets and
gets replicated? Should I be concerned about this from a design
standpoint?
Andy
