next up previous
Next: DAT_GETx - Read primitive
Up: ROUTINE DESCRIPTIONS
Previous: DAT_FIND - Find named component

DAT_GET - Read primitive   

Description:
Read a primitive (access type specified by a parameter).
Invocation:
CALL DAT_GET( LOC, TYPE, NDIM, DIM, VALUE, STATUS )

Arguments:
LOC = CHARACTER * ( DAT__SZLOC ) (Given)
Primitive locator.
TYPE = CHARACTER * ( DAT__SZTYP ) (Given)
Data type.
NDIM = INTEGER (Given)
Number of dimensions.
DIM = INTEGER( NDIM ) (Given)
Object dimensions.
VALUE = ?( <dim( 1 )>, <dim( 2 )>, ... ) (Returned)
Object value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
When reading character strings the normal Fortran 77 rules for character assignment are followed, ie. if the string length of the primitive object is less than that of the value array, each string is padded to the right with blanks; if greater, the strings are truncated from the right.



next up previous
Next: DAT_GETx - Read primitive
Up: ROUTINE DESCRIPTIONS
Previous: DAT_FIND - Find named component

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