The HDF_DFAN_GETFID procedure reads the next available file annotation from a Hierarchical Data Format file.
HDF_DFAN_GETFID, Filename, Label
A scalar string containing the name of the file to be read.
A named variable in which the annotation is returned as a string.
Set this keyword to read the first annotation in the file. Otherwise, the next available annotation is read (which may be the first annotation).
For an example using this routine, see HDF_DFAN_ADDFID .