March 30th, 2000, 07:20 PM
I have created two classes as ClassA and ClassB. The ClassA has a property named prop.
ClassB has some instances of ClassB defined inside it. Now it creates a new instance of ClassB as
MyObject = new ClassB;
An array of instances of ClassA (named MyObjectsOfA) is created within MyObject. So what would be the right way of referring to property prop of MyObjectOfA. I get a parse error if i use
Where is the problem. Early help would be appreciated.
Thanks to all in advance.
[This message has been edited by amodi (edited March 30, 2000).]