CharToAscii

ord builtin function.

Abstract AS2

@push(@ord(@pop()));

Adobe documentation

ActionCharToAscii

ActionCharToAscii converts character code to ASCII.

FieldTypeComment
ActionCharToAsciiACTIONRECORDHEADERActionCode = 0x32

ActionCharToAscii does the following:

  1. Pops a value off the stack.
  2. Converts the first character of the value to a numeric ASCII character code.
  3. Pushes the resulting character code to the stack.