ascii

Declaration

ascii (char: STRING): INTEGER

Description

Returns the ascii-code value of the first character of the string.

See Also

string functions

Example

script ascii_converter is
  i   :=   ascii ('a') -- i = 97
  i   :=   ascii ('aa') -- i = 97
  i   :=   ascii ('A') -- i = 65
end