KPG1_COPY

Copies an array of a given type to another array of the same type

Description:

This routine copies a one-dimensional array of numerical or character values from an input array to an output array.

Invocation

CALL KPG1_COPY( TYPE, NEL, IPIN, IPOUT, STATUS )

Arguments

TYPE = CHARACTER ( ) (Given)
The data type to be copied. Must be one of the HDS numeric types, _BYTE, _UBYTE, _WORD, _UWORD, _INTEGER, _INT64, _REAL or _DOUBLE, or " _CHAR <N >)" where " <N >" is an integer giving the length of the character strings.
NEL = INTEGER (Given)
The number of elements in the vectorised arrays pointed to by IPIN and IPOUT.
IPIN = INTEGER (Given)
Pointer to the data to be copied.
IPOUT = INTEGER (Given and Returned)
Pointer to the array to contain the copied data.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: