CHR$
Format: sting var = CHR$ (expr, expr.....)
Supported by: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 3.0, 5.0 and 6.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3
Similar commands: Quest Super BASIC 1.4: CHR$
Corresponding to each bracketed expression, this function returns a character. Thus, CHR$ performs a function opposite to that of ASC. It evaluates each expression and outputs a character having an ASCII decimal code equal to the value of the expression. For example
PR CHR$ (65)
would result in
A
since the ASCII decimal code for A is 65, and
PR CHR$ (#42)
would result in
B
since the ASCII code for B in hexadecimal is 42.
PR CHR$ (#41, #42, #43)
would result in
ABC