qb45advr.hlp (
Topic list)
CHR$ Function Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
CHR$ Function Details
Syntax
CHR$(code)
CHR$ is commonly used to send a special character to the screen
or printer. For example, you can send a form feed (CHR$(12))
to clear the screen and return the cursor to the home position.
CHR$ can also be used to include a double quote (") in a string:
Msg$=CHR$(34)+"Quoted string"+CHR$(34)
This line adds a double-quote character to the beginning and the end
of the string.