asc.bmx 155 B

123456
  1. Rem
  2. Asc returns the unicode value of the first character of a string.
  3. End Rem
  4. print Asc("A") '65
  5. Print "A"[0] '65 - equivalent index style implementation