The HDF_EXISTS function returns True if the HDF scientific data format library is supported on the current IDL platform.
This routine is written in the IDL language. Its source code can be found in the file
hdf_exists.pro in the
lib subdirectory of the IDL distribution.
Result = HDF_EXISTS( )
Returns a 1 (True) if the library is supported or a 0 (False) if the library is not supported.
The following IDL command prints an error message if the HDF library is not available:
IF HDF_EXISTS() EQ 0 THEN PRINT, 'HDF not supported.'
Introduced: Pre 4.0