### NDF_CGET

Obtain the value of an NDF character component

#### Description:

The routine obtains the value of the specified character component of an NDF (i.e. the value of the LABEL, TITLE or UNITS component).

#### Invocation

CALL NDF_CGET( INDF, COMP, VALUE, STATUS )

#### Arguments

NDF identifier.
##### COMP = CHARACTER $\ast$ ( $\ast$ ) (Given)
Name of the character component whose value is required: ’LABEL’, ’TITLE’ or ’UNITS’.
##### VALUE = CHARACTER $\ast$ ( $\ast$ ) (Given and Returned)
The component’s value.
##### STATUS = INTEGER (Given and Returned)
The global status.

#### Notes:

• If the requested component is in an undefined state, then the VALUE argument will be returned unchanged. A suitable default should therefore be established before calling this routine.

• If the length of the VALUE argument is too short to accommodate the returned result without losing significant (non-blank) trailing characters, then this will be indicated by an appended ellipsis, i.e. ’...’. No error will result.