Routines (alphabetical) > Routines: H > HDF Routines > HDF_HDF2IDLTYPE

# HDF_HDF2IDLTYPE

This function converts an HDF data type code into an IDL variable type code. See the IDL SIZE function and tables 3-2 through 3-4 in Scientific Data Formats for actual values.

## Examples

PRINT, HDF_HDF2IDLTYPE( 6 )

## Syntax

Result = HDF_HDF2IDLTYPE( hdftypecode )

## Return Value

Returns the IDL variable type code (See SIZE). A return value of zero means the type could not be mapped.

## Arguments

### hdftypecode

An HDF data type code (long).

## Keywords

None

## Version History

5.2 | Introduced

## See Also

HDF_IDL2HDFTYPE