15-52
CHR$ (Function) [Conforms to SLIM]
Function
Converts an ASCII code to a character.
Format
CHR$ (<Expression>)
Explanation
This statement obtains a character with the character code of the value
designated in <Expression>.
Related Terms
BIN$, HEX$, STR$, VAL, Character code table (Appendix 1)
Example
DEFSTR ls1, ls2
ls1 = CHR$(49)
'Assigns a character with the character code of 49 to ls1.
ls2 = CHR$(&H4E)
'Assigns a character with the character code of &H4E to ls2.
Comments to this Manuals