README.md

December 4, 2022 ยท View on GitHub

Inheritance Without Containment

Description

This example illustrates how to set up inheritance in VB, without using containment ('has-a') processing. The data structure is very flexible, as each class and object instance is basically a hash table (a dictionary in VB). It usess 'CallByName' to call the appropriate routine based on type, at runtime. Note that this could be made much more efficient and speedy by using a custom hash table class and enums instead of strings for properties, but I left that out to simplify this example.

More Info

Submitted On2003-10-17 05:53:58
ByKamilche
LevelAdvanced
User Rating5.0 (10 globes from 2 users)
CompatibilityVB 6.0
CategoryObject Oriented Programming (OOP)
WorldVisual Basic
Archive FileInheritanc16598110172003.zip