Routines (alphabetical) > Routines: H > HDF Routines > HDF_DFAN_LASTREF

# HDF_DFAN_LASTREF

The HDF_DFAN_LASTREF function returns the reference number of the most recently read or written annotation in an HDF file.

## Syntax

Result = HDF_DFAN_LASTREF( )

## Return Value

Returns the reference number of the most recently read or written annotation.

## Arguments

None

## Keywords

None

## Version History

4.0 | Introduced