next up previous
Next: CHR_PUTR - Put a REAL value into a string at a given position
Up: Routine Descriptions
Previous: CHR_PUTI - Put an INTEGER value into a string at a given position

CHR_PUTL  -  Put a LOGICAL value into a string at a given position

Description:
The LOGICAL value is encoded into 'T' or 'F' which is then copied into the given string beginning at position IPOSN+1. IPOSN is is returned updated to indicate the end position of the encoded logical value within STRING.

Invocation:
CALL CHR_PUTL( LVALUE, STRING, IPOSN )

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



next up previous
Next: CHR_PUTR - Put a REAL value into a string at a given position
Up: Routine Descriptions
Previous: CHR_PUTI - Put an INTEGER 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