- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine copies the input array to the output array, except where a specified value occurs, and this
is replaced with a new value throughout the output array.
Invocation
CALL FTS1_CHVAx(
EL, INARR, OLDVAL, NEWVAL, OUTARR, NREP, STATUS )
Arguments
EL = INTEGER
(Given)
The dimension of the input and output arrays.
INARR( EL ) = ? (Given)
The
input array.
OLDVAL = ? (Given)
Value to be replaced.
NEWVAL = ? (Given)
New
value to be substituted for the old value.
OUTARR( EL ) = ? (Returned)
The output
array containing the modified values.
NREP = INTEGER (Returned)
The number of
replacements made.
STATUS = INTEGER (Given and Returned)
Global status value.
Notes:
-
There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W, UW, B or
UB as appropriate. The arrays and values supplied to the routine must have the data type specified.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑