next up previous
Next: CMP_STRUC - Enquire component structure
Up: ROUTINE DESCRIPTIONS
Previous: CMP_SHAPE - Enquire component shape

CMP_SIZE - Enquire component size   

Description:
Enquire the size of a component. For an array this will be the product of the dimensions; for a scalar, a value of 1 is returned.

Invocation:
CALL CMP_SIZE( LOC, NAME, SIZE, STATUS )

Arguments:
LOC = CHARACTER * ( DAT__SZLOC ) (Given)
Structure locator.
NAME = CHARACTER * ( DAT__SZNAM ) (Given)
Component name.
SIZE = INTEGER (Returned)
Component size.
STATUS = INTEGER (Given and Returned)
The global status.



next up previous
Next: CMP_STRUC - Enquire component structure
Up: ROUTINE DESCRIPTIONS
Previous: CMP_SHAPE - Enquire component shape

HDS Hierarchical Data System
Starlink User Note 92
R.F. Warren-Smith & M.D. Lawden
23rd February 1999
E-mail:rfws@star.rl.ac.uk

Copyright (C) 1999 Central Laboratory of the Research Councils