A-C > chr |
![]() ![]() ![]() |
chr
Availability
Flash Player 4. This function has been deprecated in Flash 5 in favor of the String.fromCharCode
method.
Usage
chr(number
)
Parameters
number
An ASCII code number.
Returns
Nothing.
Description
String function; converts ASCII code numbers to characters.
Example
The following example converts the number 65 to the letter A and assigns it to the variable myVar
.
myVar = chr(65);
See also
![]() ![]() ![]() |