HDF_IDL2HDFTYPE

Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also

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

Syntax

Result = HDF_IDL2HDFTYPE( idltypecode )

Return Value

Returns the HDF data type code. A return value of zero means the type could not be mapped.

Arguments

idltypecode

An IDL variable type code (long).

Keywords

None

Examples

iType = SIZE(5.0d,/TYPE) 
PRINT, HDF_IDL2HDFTYPE( iType ) 

Version History

5.2

Introduced

See Also

HDF_HDF2IDLTYPE