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.