asc — finds the ASCII value of a string character
int asc( |
str, | |
index) ; |
string | str; |
int | index ; |
Returns the ASCII value of the first character of the string str, or, if the optional parameter index has been specified, the ASCII value of the character at position index (where the first character is at position zero). If str is a zero length string or index is out of range then the result is undefined, but is probably a run time error.