char
char — generates an ASCII character from a number.
Arguments
- number
- Any number. This is cast to an
integer between 0 and 255. Negative numbers are
treated as unsigned 2's complement
integers.
Returns
A character string with one character which is the character
representation of the ASCII value given as the argument.
Description
This function generates the string representation of an
ASCII character value.
Example
Gamma> char (65);
"A"
Gamma> char (188);
"¼"
Gamma> char (350.25);
"^"
Gamma> char (-12);
"ô"
Gamma>