Help with Classes
Posted on 2000-02-24
I need some help in create classes. Specifically, I need to know how to create classes with subclass. Two issues:
1. A class is a sub type of another class. such as A text box is a type of Control. or A Car is a type of Automobile.
For example, is I create a object called myCar I need to be able to do
For Each Car...Next and For Each Automobile.. Next., I would see myCar in both loops
2. A class has an array of another class. For exaple, ABuilding have 25 rooms and a room can have several seats.
Thanks for help