_BCDASC - convert BCD string to ASCII.
(Not in the ANSI standard)
Usage:
_bcdasc(ascptr,bcdptr,N);
Where:
- char *ascptr;
- points to an output area big enough to hold a string of N characters.
(N data bytes plus a terminating '\0'.)
- void *bcdptr;
- is a BCD pointer pointing to the BCD string that should be converted.
See "expl c lib _bcdptr" for information on BCD pointers.
- int N;
- is the number of BCD characters to be converted.
This is the maximum number of characters that will be converted;
trailing blanks will be trimmed.
Description:
"_bcdasc" converts a BCD string to the equivalent ASCII string.
This routine, and all software in the GCOS-8 C packages,
will convert BCD characters to lower case ASCII unless otherwise stated.
See Also:
expl c lib _bcdptr
expl c lib _ascbcd
Copyright © 2000, Thinkage Ltd.