
Next:
CHR_RJUST
-
Right-justify a string
Up: Routine Descriptions
Previous:
CHR_PUTL
-
Put a LOGICAL value into a string at a given position
CHR_PUTR
-
Put a REAL value into a string at a given position
- Description:
-
The REAL 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_RTOC
and CHR_PUTC.
- Invocation:
-
CALL CHR_PUTR( RVALUE, STRING, IPOSN )
- Arguments:
-
-
RVALUE = REAL (Given)
-
The value to be encoded into the string.
-
STRING = CHARACTER
(
) (Given and Returned)
-
The string into which DVALUE is to be copied.
-
IPOSN = INTEGER (Given and Returned)
-
The position pointer within STRING.

Next:
CHR_RJUST
-
Right-justify a string
Up: Routine Descriptions
Previous:
CHR_PUTL
-
Put a LOGICAL 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