Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_ARRAY_CREATE

# H5T_ARRAY_CREATE

The H5T_ARRAY_CREATE function creates an array datatype object.

## Example

See the example under H5F_CREATE.

## Syntax

Result = H5T_ARRAY_CREATE(Datatype_id, Dimensions)

## Return Value

The Result gives the identifier of the new datatype. The datatype identifier returned from this function should be released with H5T_CLOSE.

## Arguments

### Datatype_id

An integer giving the datatype identifier of the datatype of each element in the resulting array.

### Dimensions

An integer array giving the size of each array dimension. The number of elements in Dimensions defines the number of dimensions in the resulting array datatype.

Note: The Dimensions argument should be specified in IDL column-major order. Internally, the dimensions will be reversed to match HDF5/C row-major order.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5T_IDL_CREATE, H5T_REFERENCE_CREATE