Futurebasic/Language/Reference/chrstring

Chr$

edit

Function

edit

✔ Appearance ✔ Standard ✔ Console

Syntax

edit
character$ = CHR$(expr)

Description

edit

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
PRINT CHR$(65); CHR$(66); CHR$(67)

program output:
ABC

CD Example: CHR$ Demo.BAS

See Also

edit

ASC; STRING$; SPACE$; Appendix F: ASCII Character Codes

ASC; STRING$; SPACE$; Appendix F: ASCII Character Codes

Language Reference