### NDF_XNAME

Obtain the name of the N’th extension in an NDF

#### Description:

The routine returns the name of the N’th extension in an NDF. If the requested extension does not exist, then the name is returned blank. The routine may therefore be used to obtain the names of all the extensions present by setting N to 1,2... etc. until a blank name is returned. Note that the order in which these names are obtained is not defined.

#### Invocation

CALL NDF_XNAME( INDF, N, XNAME, STATUS )

#### Arguments

NDF identifier.
##### N = INTEGER (Given)
The number of the extension whose name is required.
##### XNAME = CHARACTER $\ast$ ( $\ast$ ) (Returned)
The extension name (in upper case).
##### STATUS = INTEGER (Given and Returned)
The global status.

#### Notes:

• The symbolic constant NDF__SZXNM is provided to define the length of character variables which are to hold an NDF extension name. This constant is defined in the include file NDF_PAR.