# CHR()

Converts an ASCII value to it character value

Syntax

  CHR( <nAsciiNum> ) --> cReturn

Arguments

  <nAsciiNum> Any ASCII character code.

Returns

  <cReturn> Character expression of that ASCII value

Description

  This function returns the ASCII character code for <nAsciiNum>.The number expressed must be an interger value within the range of 0 to 255 inclusive.The CHR() function will send the character returned to whatever device is presently set.
  The CHR() function may be used for printing special codes as well as normal and graphics character codes.

Examples

          ? CHR( 32 )
          ? chr( 215 )

Status

  Ready

Compliance

  This function is Ca-Clipper compliant

Platforms

  All

Files

  Library is rtl

See Also

- ASC()
- INKEY()