next up previous
Next: CMP_PRIM - Enquire component primitive
Up: ROUTINE DESCRIPTIONS
Previous: CMP_MOD - Ensure component exists

CMP_MODC - Ensure that string component exists   

Description:
Ensure that a component with the specified name, type, string precision and shape exists. If a component with the required name does not exist, one is created. If a component with that name does exist but has a different type, string precision or shape, it is deleted and a new one created with the required attributes.

Invocation:
CALL CMP_MODC( LOC, NAME, LEN, NDIM, DIM, STATUS )

Arguments:
LOC = CHARACTER * ( DAT__SZLOC ) (Given)
Structure locator.
NAME = CHARACTER * ( DAT__SZNAM ) (Given)
Component name.
LEN = INTEGER (Given)
Number of characters per value.
NDIM = INTEGER (Given)
Number of dimensions.
DIM = INTEGER( NDIM ) (Given)
Object dimensions.
STATUS = INTEGER (Given and Returned)
The global status.



next up previous
Next: CMP_PRIM - Enquire component primitive
Up: ROUTINE DESCRIPTIONS
Previous: CMP_MOD - Ensure component exists

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