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

# HDF_NEWREF

The HDF_NEWREF function returns the next available reference number for an HDF file.

## Syntax

Result = HDF_NEWREF(FileHandle)

## Return Value

Returns the next available reference number.

## Arguments

### FileHandle

The HDF file handle returned from a previous call to HDF_OPEN.

## Keywords

None

## Version History

Pre 4.0 | Introduced