next up previous
Next: DAT_THERE - Enquire component existence
Up: ROUTINE DESCRIPTIONS
Previous: DAT_STRUC - Enquire object structure

DAT_TEMP - Create temporary object   

Description:
Create an object that exists only for the lifetime of the program run. This may be used to hold temporary objects - including those mapped to obtain scratch space.

Invocation:
CALL DAT_TEMP( TYPE, NDIM, DIM, LOC, STATUS )

Arguments:
TYPE = CHARACTER * ( DAT__SZTYP ) (Given)
Data type.
NDIM = INTEGER (Given)
Number of dimensions.
DIM = INTEGER( NDIM ) (Given)
Object dimensions.
LOC = CHARACTER * ( DAT__SZLOC ) (Returned)
Object locator.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
If type matches one of the primitive type names, a primitive of appropriate type is created; otherwise the object is assumed to be a structure. If the object is a structure array, loc will be associated with the complete array, not the first cell. Thus, new components can only be created through another locator which is explicitly associated with an individual cell (see DAT_CELL).



next up previous
Next: DAT_THERE - Enquire component existence
Up: ROUTINE DESCRIPTIONS
Previous: DAT_STRUC - Enquire object structure

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