- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
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). It is identical to NDF_CGET except that any PGPLOT or AST
escape sequences in the string are removed.
Invocation
CALL KPG1_CGET( INDF, COMP, VALUE,
STATUS )
Arguments
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER
(
) (Given)
Name of the character component whose value is required: ’
LABEL’
, ’
TITLE’
or ’
UNITS’
.
VALUE =
CHARACTER
( )
(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.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑