CDF_EXISTS

The CDF_EXISTS function returns true if the Common Data Format (CDF) 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 cdf_exists.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = CDF_EXISTS()

Example

The following IDL command prints an error message if the CDF library is not available:

IF CDF_EXISTS() EQ 0 THEN PRINT, 'CDF not supported.'