JCL Help:IJclSetTypeInfo.GetBaseType

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Retrieves an interface to the base type.


Pascal

 function GetBaseType: IJclOrdinalTypeInfo;


Return Value

An interface pointer to the base type for this set.


Description

GetBaseType retrieves an interface to the base type for the set. GetBaseType is the read specifier for the BaseType property.
Background: When the compiler finds a set declaration similar to TMySet = set of () an implicit enumeration type is generated for that set. The distinction between a set based on a declared enumeration or an implicit enumeration can be made by examining the name of the base type. If it starts with a dot (".") it's an implicit type generated by the compiler.


About

Donator

Marcel Bestebroer


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page