DAT_NCOMP

Enquire number of components

Description:

Return the number of components in a structure.

Invocation

CALL DAT_NCOMP( LOC, NCOMP, STATUS )

Arguments

LOC = CHARACTER  ( DAT__SZLOC ) (Given)
Structure locator.
NCOMP = INTEGER (Returned)
Number of components.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

If the structure is an array, loc must be explicitly associated with an individual cell.