### NDF_ACLEN

Determine the length of an NDF axis character component

#### Description:

The routine returns the length of the specified axis character component of an NDF (i.e. the number of characters in the LABEL or UNITS component of an NDF axis).

#### Invocation

CALL NDF_ACLEN( INDF, COMP, IAXIS, LENGTH, STATUS )

#### Arguments

NDF identifier.
##### COMP = CHARACTER $\ast$ ( $\ast$ ) (Given)
Name of the axis character component whose length is required: ’LABEL’ or ’UNITS’.
##### IAXIS = INTEGER (Given)
Number of the NDF axis.
##### LENGTH = INTEGER (Returned)
The component’s length in characters.
##### STATUS = INTEGER (Given and Returned)
The global status.

#### Notes:

• The length of an NDF axis character component is normally determined by the length of the VALUE string assigned to it by a previous call to NDF_ACPUT (note that this could include trailing blanks).

• If the requested axis component is in an undefined state, then the length returned will be the number of characters in the default value which would be returned by the NDF_ACGET routine.

• A value of zero may be supplied for the IAXIS argument, in which case the routine will return the maximum component length for all the NDF axes.