DYN0_MAP
Map a dynamic array of elements of type MTYPE
Invocation
CALL DYN0_MAP( NDIM, DIMS, MTYPE, PTR, STATUS )
Description
Tries to allocate an area of mapped memory from either the process
heap or by mapping an HDS file.
Arguments
-
NDIM = INTEGER (given)
Dimensionality of required dynamic array
-
DIMS[] = INTEGER (given)
Dimensions of the required dynamic array
-
MTYPE = CHARACTER*(*) (given)
The type of the elements (HDS style type name)
-
PTR = INTEGER (returned)
Address of the newly allocated dynamic memory section
-
STATUS = INTEGER (given and returned)
The global status.
References
DYN0_MAPADD
Add details of a mapped memory section to the internal store
Invocation
CALL DYN0_MAPADD( PTR, NITEM, NBYTE, FID, STATUS )
Description
Tries to allocate an area of mapped memory from either the process
heap or by mapping an HDS file.
Arguments
-
PTR = INTEGER (given)
Address of the section
-
NITEM = INTEGER (given)
Number of mapped elements
-
NBYTE = INTEGER (given)
Number of mapped bytes
-
FID = INTEGER (GIVEN)
ADI file identifier if file section
-
STATUS = INTEGER (given and returned)
The global status.
References