- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
If the input TYPE is one of the HDS primitive numeric data
types, i.e. one of _REAL, _DOUBLE, _INTEGER, _INT64, _WORD, _UWORD, _BYTE or
_UBYTE, then the number of bytes used by that data type is returned as NBYTES. The
values are those stored as the symbolic constants VAL__NBx in the PRM_PAR include file.
(See SUN/39.) If the TYPE is not one of the above, an error results and STATUS is set.
Invocation
CALL KPG_TYPSZ( TYPE, NBYTES, STATUS )
Arguments
TYPE = CHARACTER
(
)
(Given)
The HDS data type.
NBYTES = INTEGER (Returned)
The number of bytes used for the
supplied data type.
STATUS = INTEGER (Given and Returned)
Global status. Bad status is
returned should TYPE not be a valid HDS data type.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑