### 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

NDF identifier.
##### COMP = CHARACTER $\ast$ ( $\ast$ ) (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.