Description:
Map a primitive (access
type specified by routine name).
Invocation
CALL DAT_MAPx( LOC, MODE, NDIM, DIM, PNTR, STATUS )
Arguments
LOC = CHARACTER
(
DAT__SZLOC ) (Given)
MODE = CHARACTER
(
DAT__SZMOD ) (Given)
Access mode (’
READ’
, ’
UPDATE’
or ’
WRITE’
).
NDIM = INTEGER
(Given)
Number of dimensions.
DIM = INTEGER( NDIM ) (Given)
Object dimensions.
PNTR = INTEGER (Returned)
Pointer to the mapped value.
STATUS = INTEGER
(Given and Returned)
The global status.
Notes:
There is a routine for each standard data
type; to call them, replace x by C (Character), D (Double), I (Integer), L (Logical), R (Real).
Copyright © 2019 East Asian Observatory