Skip to content

ArrayTypeOfArray

Include: Use System\Reflection.pkg

See Also: ArrayTypeOf, ArrayDimensionCount, ArrayDimentionSize, ValueTypeOfArray, ArrayInstanceSize, ValueTypeOfArray

Purpose

Returns nested array metadata for arrays whose element type is array.

Syntax

Function ArrayTypeOfArray Global Handle hArray Integer iIndex Returns Handle

Arguments

hArray : Array metadata handle.

iIndex : API-compatible element index parameter.

Returns

An array metadata Handle for the nested array element type.

Behavior

hArray must describe an array whose value type is C_TypeArray. Non-array elements and invalid handles raise a DataFlex error. The runtime accepts iIndex but uses the nested array metadata; keep the parameter in calls for API compatibility.

Example

Integer[][] aiValues
Handle hArray hNestedArray

Get ArrayTypeOf aiValues to hArray
Get ArrayTypeOfArray hArray 0 to hNestedArray