A class corresponding to the simple data type is specified as the basic class for inheritance. Inheritance from simple data types is forbidden.
Change the basic class.
Class TestClass: Variant
End Class TestClass;
When the specified code is compiled, the following error is displayed: Cannot inherit from the Variant class. To resolve the error, inherit the custom class from another class, for example, the Object class.
See also: