[Back to Interface] [Prev] [Next]

DFSDndatasets/dsnum

intn DFSDndatasets(char *filename)

filename IN:

Name of the HDF file

Purpose

Returns the number of scientific datasets in the file.

Return value

Returns the number of datasets if successful and FAIL (or -1) otherwise.

Description

In HDF version 3.3, DFSDndatasets replaced DFSDnumber. In order to maintain backward compatibility with existing HDF applications, HDF will continue to support DFSDnumber. However, it is recommended that all new applications use DFSDndatasets instead of DFSDnumber.

FORTRAN

integer function dsnum(filename)

character*(*) filename



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.