The HDF_DFR8_LASTREF function returns the reference number of the most recently read or written 8-bit image in an HDF file.
Examples
h = HDF_OPEN('myhdf.hdf')
PRINT, HDF_DFR8_LASTREF()
a = BINDGEN(100,100)
HDF_DFR8_ADDIMAGE, 'myhdf.hdf', a
PRINT, HDF_DFR8_LASTREF()
HDF_DFR8_ADDIMAGE, 'myhdf.hdf', a
PRINT, HDF_DFR8_NIMAGES('myhdf.hdf')
HDF_CLOSE, h
Syntax
Result = HDF_DFR8_LASTREF( )
Return Value
Returns the reference number of the most recently read or written image.
Arguments
None
Keywords
None
Version History
See Also
HDF_DFR8_ADDIMAGE, HDF_DFR8_GETIMAGE, HDF_DFR8_GETINFO, HDF_DFR8_LASTREF, HDF_DFR8_NIMAGES, HDF_DFR8_READREF, HDF_DFR8_RESTART