### 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

Data type.
##### NDIM = INTEGER (Given)
Number of dimensions.
##### DIM = INTEGER( NDIM ) (Given)
Object dimensions.
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).