TOASCII - ***OBSOLETE*** convert character to 7-bit ASCII.

(Obsolete)

Usage:

#include <sdgstd.h>
ascii = toascii(c);

Where:

int c;
contains the character you want to convert.
int ascii;
is the resulting 7-bit ASCII character. This is just the bottom 7 bits of the value of "c".

Description:

"toascii" is supplied for backward compatibility with previous releases. It should be considered obsolete because it really doesn't convert anything to ASCII; it simply returns the bottom 7-bits of a value, making the value look like an ASCII character.

Copyright © 1996, Thinkage Ltd.