CHR$

Format

string1 = CHR$(number1)

Description

This function converts an integer in the range of 0-255 to an ASCII character, and stores in string1.

Example

A$ = CHR$(49)
After execution of this statement, "A$" will contain "1", since "1" is represented by ASCII 49.

Comments

If number1 is outside the range 0-255, then the least significant byte of the integer is converted to string1.