NDF_CPUT

Assign a value to an NDF character component

Description:

The routine assigns a value to the specified character component of an NDF (i.e. to the LABEL, TITLE or UNITS component). Any previous value is over-written.

Invocation

CALL NDF_CPUT( VALUE, INDF, COMP, STATUS )

Arguments

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

Notes:

• The entire VALUE string (including trailing blanks if present) is assigned to the specified component, whose length is adjusted to accommodate it.