Next: DAT_CLEN - Obtain character string length
Up: ROUTINE DESCRIPTIONS
Previous: DAT_CCTYP - Create type string
- Description:
Return a locator to a "cell" (element) of an array object.
- Invocation:
CALL DAT_CELL( LOC1, NDIM, SUB, LOC2, STATUS )
- Arguments:
-
LOC1 = CHARACTER * ( DAT__SZLOC ) (Given)
-
Object locator.
-
NDIM = INTEGER (Given)
-
Number of dimensions.
-
SUB = INTEGER( NDIM ) (Given)
-
Subscript values.
-
LOC2 = CHARACTER * ( DAT__SZLOC ) (Returned)
-
Cell locator.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
Typically, this is used to locate an element of a structure array
for subsequent access to its components, although this does not
preclude its use in accessing a single pixel in a 2-D image for
example.
Next: DAT_CLEN - Obtain character string length
Up: ROUTINE DESCRIPTIONS
Previous: DAT_CCTYP - Create type string
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