GM: chr
From GMpedia.org Wiki
- The correct title of this article is chr(). It appears incorrectly here because of technical restrictions.
- The correct title of this article is chr(). It appears incorrectly here because of technical restrictions.
Arguments
1: ASCII number of character to be output.
Limitations
none
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
The chr() function will let the user type in a number and the variable will change to the corresponding ASCII symbol. If the user typed in 97, for example, the variable using the chr function will turn into "a". Please see the ASCII table for more information.
[edit] Examples
show_message(chr(97));
num = get_integer("numeral to ascii converter",""); num = chr(num);
This article was originally found at the Game Maker Knowledge Base, contributed by cityscape.
See the talk page for details
See the talk page for details

