
Next:
CHR_PUTL
-
Put a LOGICAL value into a string at a given position
Up: Routine Descriptions
Previous:
CHR_PUTD
-
Put a DOUBLE PRECISION value into a string at a given position
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.

Next:
CHR_PUTL
-
Put a LOGICAL value into a string at a given position
Up: Routine Descriptions
Previous:
CHR_PUTD
-
Put a DOUBLE PRECISION value into a string at a given position
CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk