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

# HDF_DFP_WRITEREF

The HDF_DFP_WRITEREF procedure sets the reference number for the next palette to be written to an HDF file. Normally, the HDF library automatically chooses a reference number for the palette. This procedure allows you to override that choice.

## Syntax

HDF_DFP_WRITEREF, Filename, Reference_number

## Arguments

### Filename

A scalar string containing the name of the file to be read.

### Reference_number

The new reference number.

## Keywords

None

## Version History

4.0 | Introduced