bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CHR$ Function Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
CHR$ returns a one-character string whose ASCII code is the argument.
 
CHR$(code%)
 
Usage Notes
    ■ 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$ also can be used to include a double quotation mark (") in a
      string:
 
        Msg$=CHR$(34)+"Quoted string"+CHR$(34)
 
      This line adds a double-quotation-mark character to the beginning and
      end of the string.