ord()

Availability

Flash Lite 1.0.

Usage

ord(character)

Operands

character The character to convert to an ASCII code number.

Description

String function; converts characters to ASCII code numbers.

Example

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