next up previous
Next: DAT_STATE - Enquire object state
Up: ROUTINE DESCRIPTIONS
Previous: DAT_SIZE - Enquire object size

DAT_SLICE - Locate slice   

Description:
Return a locator to a "slice" of a vector or an array.
Invocation:
CALL DAT_SLICE( LOC1, NDIM, DIML, DIMU, LOC2, STATUS )

Arguments:
LOC1 = CHARACTER * ( DAT__SZLOC ) (Given)
Array locator.
NDIM = INTEGER (Given)
Number of dimensions.
DIML = INTEGER( NDIM ) (Given)
Lower dimension bounds.
DIMU = INTEGER( NDIM ) (Given)
Upper dimension bounds.
LOC2 = CHARACTER * ( DAT__SZLOC ) (Returned)
Slice locator.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
If any of the upper bounds are zero or negative, the size of the corresponding dimension in the object is used. Currently, only 1, 2 or 3-D objects can be sliced.



next up previous
Next: DAT_STATE - Enquire object state
Up: ROUTINE DESCRIPTIONS
Previous: DAT_SIZE - Enquire object size

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