The HDF_DFAN_PUTDESC procedure writes a description for the given tag and reference number in an HDF file.
Attempting to overwrite an existing description with a longer one fails.
Overwriting an existing description with a shorter description succeeds, but the description length is unchanged and garbage characters are left at the end of the description.
HDF_DFAN_PUTDESC, Filename, Tag, Ref, Description
A scalar string containing the name of the file to be written.
The tag number.
The reference number.
A string or array of bytes containing the information to be written.
If a description does not exist, the Description variable will contain either a 0L (long-integer zero) or a blank string, and a warning message will be printed. Warning messages can be suppressed by setting the
See the example for HDF_DFAN_GETDESC.