# (chr integer)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<!-- help-structure:notice -->
> **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md).
<!-- /help-structure:notice -->
<a id="141"></a>
## (chr integer)
---
Convert this integer to ASCII.
---
The **chr** function converts an ASCII code into the corresponding character. The ASCII code is an [integer](../../../Source%20Issues.md#issue-becb128287f59970).
### Examples
| Code | Returns |
| --- | --- |
| (**chr** 88\) | "X" |
| (**chr** 120\) | "x" |
| (**chr** 0\) | "" |
| (**chr** 2\) | "/002" |
[(ascii string)](%28ascii%20string%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28chr%20integer%29.md)