CHR_PUTI

Put an INTEGER value into a string at a given position

Description:

The INTEGER value is encoded into a concise string which is then copied into the given string beginning at position IPOSN+1. IPOSN is returned updated to indicate the end position of the encoded number within STRING. This is a combination of CHR_ITOC and CHR_PUTC.

Invocation

CALL CHR_PUTI( IVALUE, STRING, IPOSN )

Arguments

IVALUE = INTEGER (Given)
The value to be encoded into the string.
STRING = CHARACTER ( ) (Given and Returned)
The string into which IVALUE is to be copied.
IPOSN = INTEGER (Given and Returned)
The position pointer within STRING.