Chr
Function Chr( numeric expression )
Returns a 1 character string consisting of the ASCII value of numeric expression.
Syntax a = Chr(34)
Remarks
Chr accepts values in the range 0 to 255 and returns a single character string.
Restrictions
If a NULL (ASCII value 0) is passed to Chr, it will return a NULL (empty) string.
If numeric expression is out of the range 0 - 255, it will be clamped to that range via a modulo before the function executes.
See Also
Asc Conversion Functions String Functions
Example Script
NUMBER i
' let's print the ASCII chart from 65 to 122.
FOR i = 65 TO 122
PRINT CHR(i);
NEXT
Script Output
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz