KPG1_PRSAx

Extracts a list of numerical values from a string

Description:

A supplied string is search for words (separated by spaces, tabs or commas), which are extracted and converted to the required numerical data type. The numerical values and their number are returned.

Invocation

CALL KPG1_PRSAx( BUFFER, MAXVAL, VALUES, NVAL, STATUS )

Arguments

BUFFER = CHARACTER ( ) (Given)
The string containing a list of numerical values.
MAXVAL = INTEGER (Given)
The maximum number of values that can be read from the buffer and stored.
VALUES( MAXVAL ) = ? (Returned)
The numeric values extracted from the string.
NVAL = INTEGER (Returned)
The actual number of values extracted from the string.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: