The HDF_DF24_LASTREF function returns the reference number of the most recently read or written 24-bit image in an HDF file.
Examples
h=HDF_OPEN('myhdf.hdf')
PRINT, HDF_DF24_LASTREF()
a = BINDGEN(3,100,100)
HDF_DF24_ADDIMAGE, 'myhdf.hdf', a
PRINT, HDF_DF24_LASTREF()
HDF_DF24_ADDIMAGE, 'myhdf.hdf', a
PRINT, HDF_DF24_LASTREF()
PRINT, HDF_DF24_NIMAGES('myhdf.hdf')
HDF_CLOSE, h
Syntax
Result = HDF_DF24_LASTREF( )
Return Value
Returns the reference number of the most recently read or written image.
Arguments
None
Keywords
None
Version History
See Also
HDF_DF24_ADDIMAGE, HDF_DF24_GETIMAGE, HDF_DF24_GETINFO, HDF_DF24_NIMAGES, HDF_DF24_READREF, HDF_DF24_RESTART, HDF_DFR8_LASTREF