String function CHR
If there is insufficient information on this page and you wish learn more about CHR, please send an email to email@example.com. You can help to improve information about CHR by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
The CHR command is useful for obtaining and printing the escape character (ASCII 27)
10 PRINT CHR + “[1mTHIS IS BOLD” + CHR + “[0m”
20 PRINT CHR + “[3mThis is italic” + CHR + “[0m”
30 PRINT CHR + “[4mThis is underline”