ASC(var:string) :INTEGER

Returns the ASCII value (0-255) of the first character of var


See also: Chr