next up previous
Next: NDF_XNEW - Create a new extension in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XLOC - Obtain access to a named NDF extension via an HDS locator

   
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:
INDF = INTEGER (Given)
NDF identifier.
N = INTEGER (Given)
The number of the extension whose name is required.
XNAME = CHARACTER * ( * ) (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.



next up previous
Next: NDF_XNEW - Create a new extension in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XLOC - Obtain access to a named NDF extension via an HDS locator


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils