Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > ord() | |||
Flash Lite 1.0.
ord(character)
character The character to convert to an ASCII code number.
String function; converts characters to ASCII code numbers.
The following example uses the ord() function to display the ASCII code for the character A:
trace ("multibyte number = " add ord("A")); // Output: multibyte number = 65
|
|
|
|