DYN_MAPT
Allocate a dynamic array of specified dimensions of type TYPE
Invocation
CALL DYN_MAPT( NDIM, DIMS, TYPE, PTR, STATUS )
Description
Allocate a dynamic array of specified dimensions of type TYPE.
The supplied dimensions are checked and then the internal allocation
routine invoked.
Arguments
-
NDIM = INTEGER (given)
Dimensionality of required dynamic array
-
DIMS[] = INTEGER (given)
Dimensions of the required dynamic array
-
TYPE = CHARACTER*(*) (given)
Data type for mapped elements
-
PTR = INTEGER (returned)
Address of the newly allocated dynamic memory section
-
STATUS = INTEGER (given and returned)
The global status.
References