Synopsis:
ascii_val=ctoi(char_str)
Arguments:
char_str - The character to convert to an ASCII value.
Description: This function returns the ASCII value of the first character of the string, char_str.
For example:
// This will return 65
ascii_val=ctoi("A");
// This will return 48
ascii_val=ctoi("0123");
Returns: Returns the ASCII value of the first character of char_str.