
Next:
CHR_SCOMP
-
Compare two character strings using the ASCII character set
Up: Routine Descriptions
Previous:
CHR_RTOAN
-
Write a REAL value into a string as hr/deg:min:sec
CHR_RTOC
-
Encode a REAL value as a string
- Description:
-
Encode a REAL value as a character string, using as concise a
format as possible, and return the number of characters used.
In the event of an error, '
's are written to the string.
- Invocation:
-
CALL CHR_RTOC( RVALUE, STRING, NCHAR )
- Arguments:
-
-
RVALUE = REAL (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:
CHR_SCOMP
-
Compare two character strings using the ASCII character set
Up: Routine Descriptions
Previous:
CHR_RTOAN
-
Write a REAL value into a string as hr/deg:min:sec
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