Futurebasic/Language/Reference/chrstring
Appearance
(Redirected from Futurebasic/language/reference/chrstring)
Chr$
[edit | edit source]Function
[edit | edit source]✔ Appearance ✔ Standard ✔ Console
Syntax
[edit | edit source]character$ = CHR$(expr)
Description
[edit | edit source]Returns a 1-character string consisting of the character whose ASCII code is given by expr
MOD 256
. ASCII (which stands for American Standard Code for Information Interchange) is a system of codes for characters used on microcomputers.
Example
[edit | edit source]PRINT CHR$(65); CHR$(66); CHR$(67)
program output:
ABC
CD Example: CHR$ Demo.BAS
See Also
[edit | edit source]ASC; STRING$; SPACE$; Appendix F: ASCII Character Codes