Next: NDF_CLONE - Clone an NDF identifier
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CINP - Obtain an NDF character component value via the ADAM parameter system
NDF_CLEN
- Determine the length of an NDF character component
- Description:
The routine returns the length of the specified character
component of an NDF (i.e. the number of characters in the LABEL,
TITLE or UNITS component).
- Invocation:
CALL NDF_CLEN( INDF, COMP, LENGTH, STATUS )
- Arguments:
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER * ( * ) (Given)
-
Name of the character component whose length is required:
'LABEL', 'TITLE' or 'UNITS'.
-
LENGTH = INTEGER (Returned)
-
Length of the component in characters.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
-
The length of an NDF character component is determined by the
length of the VALUE string assigned to it by a previous call to
NDF_CPUT (note that this could include trailing blanks).
-
If the specified component is in an undefined state, then a
length of zero will be returned.
Next: NDF_CLONE - Clone an NDF identifier
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CINP - Obtain an NDF character component value via the ADAM parameter system
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