Create a new component in a structure.
CALL DAT_NEW( LOC, NAME, TYPE, NDIM, DIM, STATUS )
LOC = CHARACTER
DAT__SZLOC ) (Given)
NAME = CHARACTER
DAT__SZNAM ) (Given)
TYPE = CHARACTER
DAT__SZTYP ) (Given)
NDIM = INTEGER (Given)
Number of dimensions.
INTEGER( NDIM ) (Given)
STATUS = INTEGER (Given and Returned)
The global status.
If type matches one of the primitive type names a primitive of the
appropriate type is created, otherwise the object is assumed to be a structure. The new object can
subsequently be located by DAT_FIND
. The operation will fail if a component of the same name
Copyright © 2019 East Asian Observatory