The Conroy & Conroy Subroutine Library (2021.3 edition)

TCOM_Generic_Collection
What: class TCommon_COM_Interface
File: _GenVal
Layer: 0
Platforms: C++, Pascal (D2)

This is the abstract base class for representing collections. The methods are stdcall.

Fixed
bool Fixed()
function Fixed : boolean
Returns False if dynamic, true if static.

Get_Subscript
TGeneric_Value* Get_Subscript( int32 Address )
function Get_Subscript( Address : longint ) : TGeneric_Value
Get value from array (viewing it as a flat one-dimensional array).

High_Bound
TGeneric_Value* High_Bound( int32 Subscript )
function High_Bound( Subscript : longint ) : TGeneric_Value
Returns higher bound of subscript for specified array subscript.

Low_Bound
TGeneric_Value* Low_Bound( int32 Subscript )
function Low_Bound( Subscript : longint ) : TGeneric_Value
Returns Lower bound of subscript for specified array subscript.

Row_Major
bool Row_Major()
function Row_Major : boolean
Returns True if array is left-to-right major.

Sparse
bool Sparse()
function Sparse : boolean
Returns true if sparse array, false if not array or not sparse.

Subscripts
int32 Subscripts()
function Subscripts : longint
Returns the Number of subscripts for an array. 0 otherwise