CHR( ) Function

Example   See Also

Returns the character associated with the specified numeric ANSI code.

Syntax

CHR(nANSICode)

Returns

Character

Arguments

nANSICode

Specifies a number between 0 and 255 whose equivalent ANSI character CHR( ) returns.

Use ASC( ) to return the ANSI value for a specified character.

Remarks

CHR( ) returns a single character corresponding to the numeric position of the character in the character table of the current code page. CHR( ) can be used to send printer control codes to a printer.