# Funktionsreferenz

Chr

Returns a character corresponding to an ASCII code.

Chr ( ASCIIcode )

Parameter

ASCIIcode | An ASCII code (e.g., 65 returns the capital letter A).

Bemerkungen

The parameter is converted to a positive integer between 0 and 255 if not already one.
Chr(48) == 0, Chr(57) == 9, Chr(65) == "A", Chr(90) == "Z", Chr(97) == "a", Chr(122) = "z", etc.
A complete ASCII table is in the Appendix.

Siehe auch

Asc

Beispiel

$text = ""
For $i = 65 to 90
$text = $text & Chr($i)
Next
MsgBox(0, "Uppercase alphabet", $text)