All ARR routines have a trailing STATUS
argument which is
checked on entry. If the value is non-zero then the routine will do
nothing. All array arguments in ARR are declared as (*)
,
in order that code such as that below does not fail
CALL BDI_MAPDATA( ID, 'READ', DPTR, STATUS ) CALL ARR_RANG1R( N, %VAL(DPTR), DMIN, DMAX, STATUS )in the case where the map call fails, returning a zero pointer and bad status.
The routines are suffixed with the Starlink standard type
codes, ie. [B]yte
, [W]ord
,
[I]integer
, [R]eal
and [D]ouble
.
David J. Allan (dja@star.sr.bham.ac.uk)