KPG1_RETRx

Retrieves a value from an array

Description:

The value stored at a given index within the supplied array is returned.

Invocation

CALL KPG1_RETRx( EL, INDEX, DATA, VALUE, STATUS )

Arguments

EL = INTEGER (Given)
The number of elements in the array.
INDEX = INTEGER (Given)
The index within the array of the required value.
DATA( EL ) = ? (Given)
The input array.
VALUE = ? (Returned)
The returned value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: