next up previous
Next: CHR_MOVE - Move one string into another
Up: Routine Descriptions
Previous: CHR_LOWER - Return the lowercase equivalent of a character

CHR_LTOC  -  Encode a LOGICAL value as a string

Description:
Encode the given LOGICAL value as one of the character strings 'TRUE' or 'FALSE'.

Invocation:
CALL CHR_LTOC( LVALUE, STRING, NCHAR )

Arguments:
LVALUE = LOGICAL (Given)
The value to be encoded.
STRING = CHARACTER ( ) (Returned)
The string into which the value is to be encoded.
NCHAR = INTEGER (Returned)
The field width used in encoding the value.



next up previous
Next: CHR_MOVE - Move one string into another
Up: Routine Descriptions
Previous: CHR_LOWER - Return the lowercase equivalent of a character



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