Description:
The
string STR1, encoded in the host machine’s character set, is returned in STR2 translated into a form
which can be written and subsequently read correctly by a machine which uses the ASCII character
set.
Invocation
CALL CHR_MTOA( STR1, STR2 )
Arguments
STR1 = CHARACTER
(
)
(Given)
A string represented by the host machine’s character set.
STR2 = CHARACTER
(
)
(Returned)
A string represented by the ASCII character set. If STR2 is shorter than STR1, the
translated string will be truncated; if STR2 is longer than STR1, STR2 will be padded with blanks
beyond the translated string.
Copyright © 2018 East Asian Observatory